GNOME Bugzilla – Bug 719549
pango-utils: Fix a potential strtol(NULL) call
Last modified: 2013-12-02 11:34:19 UTC
Found by scan-build.
Created attachment 263115 [details] [review] pango-utils: Fix a potential strtol(NULL) call parse_int() is called by pango_parse_enum(), which permits the enum string to be NULL. This string is passed directly through to parse_int() and then to strtol(), which is tagged as nonnull. Found by scan-build.
Haven't studied the patch, but I assume you know what you are doing :). Please commit.
Attachment 263115 [details] pushed as 05f7dcd - pango-utils: Fix a potential strtol(NULL) call