Darren Kenny 0cb838b281 net/tftp: Fix dangling memory pointer
The static code analysis tool, Parfait, reported that the valid of
file->data was left referencing memory that was freed by the call to
grub_free(data) where data was initialized from file->data.

To ensure that there is no unintentional access to this memory
referenced by file->data we should set the pointer to NULL.

Signed-off-by: Darren Kenny <darren.kenny@oracle.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2021-03-02 15:54:16 +01:00
..
2017-05-03 13:03:50 +02:00
2020-07-29 16:55:47 +02:00
2017-05-03 13:03:50 +02:00
2016-02-25 22:38:52 +03:00
2016-01-16 20:59:50 +03:00
2021-03-02 15:54:16 +01:00