Re: [PATCH] sscanf: don't ignore field widths for numeric conversions

2012-11-05 Thread Jan Beulich
>>> On 02.11.12 at 22:32, Andrew Morton wrote: > On Fri, 02 Nov 2012 14:44:08 + > "Jan Beulich" wrote: > >> This is another step towards better standard conformance. Rather than >> adding a local buffer to store the specified portion of the string >> (with the need to enforce an arbitrary ma

Re: [PATCH] sscanf: don't ignore field widths for numeric conversions

2012-11-02 Thread Andrew Morton
On Fri, 02 Nov 2012 14:44:08 + "Jan Beulich" wrote: > This is another step towards better standard conformance. Rather than > adding a local buffer to store the specified portion of the string > (with the need to enforce an arbitrary maximum supported width to > limit the buffer size), do a m

[PATCH] sscanf: don't ignore field widths for numeric conversions

2012-11-02 Thread Jan Beulich
This is another step towards better standard conformance. Rather than adding a local buffer to store the specified portion of the string (with the need to enforce an arbitrary maximum supported width to limit the buffer size), do a maximum width conversion and then drop as much of it as is necessar