Skip to content
Commit 5283a2be authored by Loic Poulain's avatar Loic Poulain Committed by Kumar Gala
Browse files

drivers: wifi: eswifi: fix dead code in ipv4 parsing



unsigned byte value is initialized to -1 and so never satisifies
the while condition, leading to broken ipv4 parsing (dead code).
Fix this by making byte value signed.

Reported by coverity #27326.

Signed-off-by: default avatarLoic Poulain <loic.poulain@linaro.org>
parent a15c8717
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment