Page MenuHomePhabricator

Fix for sscanf operations

Authored by godlytalias on Oct 6 2017, 2:40 AM.



As 'flags' can be supplied by application, in case application is supplying
a big string(error case), it can cause crash in some version of glibc.

Setting maximum possible input (0x64) length as width specifier

Fix for static code analyzer warnings

  • scanf without field width limits can crash with huge input data on some versions of libc

Signed-off-by: Godly T.Alias <>

Test Plan

Run SonarQube

Diff Detail

rEFL core/efl
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
godlytalias created this revision.Oct 6 2017, 2:40 AM
cedric accepted this revision.Oct 6 2017, 9:48 AM
This revision is now accepted and ready to land.Oct 6 2017, 9:48 AM
This revision was automatically updated to reflect the committed changes.