]> git.proxmox.com Git - grub2.git/commit
* kern/emu/misc.c (canonicalize_file_name): realpath can still
authorColin Watson <cjwatson@ubuntu.com>
Thu, 27 May 2010 14:45:41 +0000 (15:45 +0100)
committerColin Watson <cjwatson@ubuntu.com>
Thu, 27 May 2010 14:45:41 +0000 (15:45 +0100)
commitdb2102a0468e15c76bb369eef728622a9e51683e
tree7592bdf6c13b9b1725b87fe7bba94610d788e2bc
parent5fdba519bb35c64a2c90221f069863cc36e00387
* 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.
ChangeLog
kern/emu/misc.c