* grub-core/term/serial.c (grub_serial_register): Fix invalid free.

Ensure that pointers are inited to NULL and that pointers are not
	accessed after free.
This commit is contained in:
Vladimir Serbinenko 2014-01-26 02:36:05 +01:00
parent 5ae584c0b0
commit 9afe2053c9
2 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2014-01-26 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/term/serial.c (grub_serial_register): Fix invalid free.
Ensure that pointers are inited to NULL and that pointers are not
accessed after free.
2014-01-25 Andrey Borzenkov <arvidjaar@gmail.com>