| Summary: | Properly check the sscanf return value | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Tomas Popela <tpopela> | ||||
| Component: | WebKitGTK | Assignee: | Tomas Popela <tpopela> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | bugs-noreply, calvaris, cgarcia, darin | ||||
| Priority: | P2 | ||||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Tomas Popela
2018-06-18 04:13:59 PDT
Created attachment 342924 [details]
Patch
Comment on attachment 342924 [details] Patch Clearing flags on attachment: 342924 Committed r232929: <https://trac.webkit.org/changeset/232929> All reviewed patches have been landed. Closing bug. Comment on attachment 342924 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=342924&action=review > Source/WebCore/page/linux/ResourceUsageThreadLinux.cpp:64 > + if (retVal < 10 || retVal == EOF) { I think this should just be: if (retVal != 10) (In reply to Darin Adler from comment #4) > I think this should just be: > > if (retVal != 10) That's true Darin! I will change it. Committed r233142: <https://trac.webkit.org/changeset/233142> |