Jouni Malinen c7068f106f WPS: Avoid bogus static analyzer warning in ndef_parse_record()
Use a local variable and check the record payload length validity before
writing it into record->payload_length in hopes of getting rid of a
bogus static analyzer warning. The negative return value was sufficient
to avoid record->payload_length being used, but that seems to be too
complex for some analyzers. (CID 122668)

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2015-07-17 20:43:17 +03:00
..
2015-04-22 11:44:19 +03:00
2015-04-28 00:22:16 +03:00
2015-04-28 00:22:16 +03:00
2013-12-29 10:00:33 +02:00
2015-04-28 00:22:16 +03:00