[PATCH Hurd] Fix invalid port deallocation in `symlink'

Ludovic Courtès ludo@gnu.org
Sat Mar 17 14:19:00 GMT 2012


Hello,

Currently, running ‘ln -s foo bar’ on a read-only file system leads to
an invalid port deallocation.

This patch fixes that.

Thanks,
Ludo’.

2012-03-17  Ludovic Courtès  <ludo@gnu.org>

	* sysdeps/mach/hurd/symlink.c (__symlink): Deallocate NODE only
	when it is non-null.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 1019 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120317/976e4feb/attachment.bin>


More information about the Libc-alpha mailing list