[PATCH:xsm] Add size limit to scanf string specifier

Alan Coopersmith alan.coopersmith at oracle.com
Tue Nov 29 00:42:22 PST 2011


On 11/29/11 00:12, walter harms wrote:
> Am 29.11.2011 03:56, schrieb Alan Coopersmith:
>> While it's tempting to just switch to fgets(), that would require
>> implementing our own whitespace stripping to match the current
>> scanf behavior.
>
> perhaps fgets() is better here ?

Nope.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list