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

2015-05-15 Thread Bernhard Reutner-Fischer
On May 15, 2015 8:44:11 PM GMT+02:00, Max Filippov jcmvb...@gmail.com wrote: On Fri, May 8, 2015 at 1:15 AM, Max Filippov jcmvb...@gmail.com wrote: From: Will Newton will.new...@imgtec.com The current code implements the 'm' modifier only for 's' conversions and would cause a segfault if it

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

2015-05-07 Thread Max Filippov
From: Will Newton will.new...@imgtec.com 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. The original version could write scanned data outside the