snprintf() doesn't use format size specifiers

Norman Feske norman.feske at ...1...
Tue Apr 21 14:42:04 CEST 2015

Hello Pirmin,

>> If I do want to right align the numbers (%-5d) the function crashes my  
>> program.
> This should not happen. Thank you for reporting. I just opened an issue
> about it:

unfortunately, I am not able to reproduce the problem. When modifying
the printf test using the attached patch, the program runs just fine.

Could you share a small test program that triggers the problem? That
would be greatly appreciated.

Best regards

Dr.-Ing. Norman Feske
Genode Labs ·

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
-------------- next part --------------
A non-text attachment was scrubbed...
Name: snprintf_test.patch
Type: text/x-diff
Size: 442 bytes
Desc: not available
URL: <>

More information about the users mailing list