diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-10-23 10:14:20 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-10-24 09:57:51 +0200 |
commit | 975d6a0130758b32b07968f61b4c32a970af9cd9 (patch) | |
tree | 4f8f42996b4e7cc5377e1cef7583fc8f0c05e99f /Makefile | |
parent | d2606de353cc60b0c7a9db054bca991670ebc9b0 (diff) | |
download | barebox-975d6a0130758b32b07968f61b4c32a970af9cd9.tar.gz barebox-975d6a0130758b32b07968f61b4c32a970af9cd9.tar.xz |
fs tftp: Fix possible fifo overflow
In tftp_read we send a request for a new packet without checking if we
have enough space in the FIFO. This can lead to a FIFO overflow and a
corrupt file. Add a check for it.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reported-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tested-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions