GNOME Bugzilla – Bug 110680
trio printf doesn't pass tests/strfunc-test
Last modified: 2004-12-22 21:47:04 UTC
trio's *snprintf* functions don't allow buffer to be NULL even when max is 0, making them non-C99-compliant, and making strfunc-test fail. Changing the assertions from assert(VALID(buffer)); to assert(VALID(buffer) || max == 0); makes strfunc-test pass, although I haven't figured out if it could cause crashes elsewhere
*** Bug 111015 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 106091 ***