mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-03 12:37:46 +01:00
The old code had a loop limit overflow bug which caused a semi-
infinite loop for small packets, because in "i<len-8", "i" was signed,
but "len" was unsigned, and "len-8" became a huge number for small
values of "len".
This is a workaround which replaces broken commit
|
||
|---|---|---|
| .. | ||
| bootp.c | ||
| bootp.h | ||
| eth.c | ||
| Makefile | ||
| net.c | ||
| nfs.c | ||
| nfs.h | ||
| rarp.c | ||
| rarp.h | ||
| sntp.c | ||
| sntp.h | ||
| tftp.c | ||
| tftp.h | ||