[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53148] NULL characters not processed correctl
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #53148] NULL characters not processed correctly in *printf() family of functions |
Date: |
Wed, 14 Feb 2018 02:35:25 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Update of bug #53148 (project octave):
Status: Confirmed => Ready For Test
_______________________________________________________
Follow-up Comment #2:
I pushed the following changeset.
http://hg.savannah.gnu.org/hgweb/octave/rev/ca6a73be15da
I think this minimal fix is sufficient for the format specifiers since the
format strings that are ultimately passed to the vasprintf function should
only be numeric conversion formats, not the literal text portions of the
overall formats. Those are handled separately. Similarly, the character
string arguments to '%s' or '%c' conversions are also handled separately, not
by sending them to vasprintf, so they shouldn't be converted to NUL-terminated
strings either.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53148>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/