]> git.ipfire.org Git - thirdparty/grub.git/commit
net: Fix crash on http
authorGustavo Luiz Duarte <gustavold@linux.vnet.ibm.com>
Tue, 17 Sep 2019 15:44:58 +0000 (17:44 +0200)
committerDaniel Kiper <daniel.kiper@oracle.com>
Mon, 23 Sep 2019 11:16:48 +0000 (13:16 +0200)
commitfc085f7f1860cb864aa61bb3f248a970565a9055
tree3137a63461e666af9fdcd8a3704040d08ca74aae
parent3ea9bc3c06f7b86ef4e478f376fba97e6352d823
net: Fix crash on http

Don't free file->data on receiving FIN flag since it is used all over
without checking. http_close() will be called later to free that memory.

Fixes bug: https://bugzilla.redhat.com/show_bug.cgi?id=860834

Signed-off-by: Gustavo Luiz Duarte <gustavold@linux.vnet.ibm.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/net/http.c