[PATCH] _scanf.c: Implement 'm' modifier for 'c' and '[' conversions.

Will Newton will.newton at gmail.com
Thu Nov 1 15:49:27 UTC 2012


On Thu, Nov 1, 2012 at 3:44 PM, Natanael Copa <natanael.copa at gmail.com> wrote:
> On Thu, Nov 1, 2012 at 1:02 PM, Will Newton <will.newton at gmail.com> wrote:
>> On Tue, Oct 16, 2012 at 12:00 PM, Will Newton <will.newton at gmail.com> wrote:
>>> The current code implements the 'm' modifier only for 's'
>>> conversions and would cause a segfault if it was used for 'c'
>>> or '[' conversions. This patch extends the code to cover these
>>> cases too.
>>>
>>> Signed-off-by: Will Newton <will.newton at imgtec.com>
>>> ---
>>>  libc/stdio/_scanf.c |   51 ++++++++++++++++++++++++++++++++-------------------
>>>  1 files changed, 32 insertions(+), 19 deletions(-)
>>
>> Any comments on this patch?
>
> Are there any current applications that triggers this issue?

The application I hit it with was lttng-tools.


More information about the uClibc mailing list