* util/getroot.c (ESCAPED_PATH_MAX): New define.

(mountinfo_entry): Increase the field size to take escaping into
	account.
	(find_root_device_from_libzfs): Add one byte to size of strings for
	security.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-12-23 11:36:31 +01:00
parent 66a2ecd123
commit b87f7ef26b
2 changed files with 15 additions and 4 deletions

View file

@ -1,3 +1,11 @@
2011-12-23 Vladimir Serbinenko <phcoder@gmail.com>
* util/getroot.c (ESCAPED_PATH_MAX): New define.
(mountinfo_entry): Increase the field size to take escaping into
account.
(find_root_device_from_libzfs): Add one byte to size of strings for
security.
2011-12-23 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/lib/reed_solomon.c (grub_reed_solomon_add_redundancy): Add