commit | 12366462187fa5dddca017748ef0d670d8100e0f | [log] [tgz] |
---|---|---|
author | Ankita Bajaj <bankita@codeaurora.org> | Wed Apr 04 16:30:49 2018 +0530 |
committer | Jouni Malinen <jouni@codeaurora.org> | Tue Apr 10 21:17:16 2018 +0300 |
tree | 392ba536b92ba8138c0bb7d90cfd128dc937389b | |
parent | e104e32acb1d3bb3b5214be5a8e812a0afc861a1 [diff] |
Avoid false static analyzer warning on impossible snprintf() error path Explicitly check that snprintf() return value is not negative to silence a static analyzer. This call cannot fail, but it is simpler to do this than try to figure out other ways of getting rid of false warnings. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>