[Webkit-unassigned] [Bug 52585] REGRESSION(r75709): Return value of fscanf() shouldn't be ignored.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 17 13:24:16 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=52585


Jarred Nicholls <jarred.nicholls at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #79209|0                           |1
        is obsolete|                            |
  Attachment #79210|                            |review?
               Flag|                            |




--- Comment #11 from Jarred Nicholls <jarred.nicholls at gmail.com>  2011-01-17 13:24:16 PST ---
Created an attachment (id=79210)
 --> (https://bugs.webkit.org/attachment.cgi?id=79210&action=review)
Proposed patch

explicitly check for 1, as checking for "anything but zero" is incorrect as EOF could be returned.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list