* kern/emu/misc.c (canonicalize_file_name): realpath can still
return NULL for various reasons even if it has a maximum-length buffer: for example, there might be a symlink loop, or the path might exceed PATH_MAX. If this happens, return NULL.
This commit is contained in:
parent
5fdba519bb
commit
db2102a046
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2010-05-27 Colin Watson <cjwatson@ubuntu.com>
|
||||
|
||||
* kern/emu/misc.c (canonicalize_file_name): realpath can still
|
||||
return NULL for various reasons even if it has a maximum-length
|
||||
buffer: for example, there might be a symlink loop, or the path
|
||||
might exceed PATH_MAX. If this happens, return NULL.
|
||||
|
||||
2010-05-27 Robert Millan <rmh@gnu.org>
|
||||
|
||||
* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Insert
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue