You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The gnrc_tftp_server doesn't initialize all members of the tftp_context_t in gnrc_tftp_server causing an access of ununinitialised values when receiving messages in an unexpected order.
Steps to reproduce the issue
Build examples/gnrc_tftp with make all-valgrind
Run the application using make term-valgrind
Start the TFTP server using tftps start and wait until it started
Send a DATA tftp packet to the server, for example:
Description
The
gnrc_tftp_server
doesn't initialize all members of thetftp_context_t
ingnrc_tftp_server
causing an access of ununinitialised values when receiving messages in an unexpected order.Steps to reproduce the issue
examples/gnrc_tftp
withmake all-valgrind
make term-valgrind
tftps start
and wait until it startedDATA
tftp packet to the server, for example:Expected results
Valgrind shouldn't report any accesses of uninitialised values.
Actual results
Valgrind reports various conditional jumps or moves which depend on uninitialised values.
The text was updated successfully, but these errors were encountered: