YAEGASHI Takeshi writes:
authorEric Andersen <andersen@codepoet.org>
Mon, 26 Jul 2004 12:05:12 +0000 (12:05 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 26 Jul 2004 12:05:12 +0000 (12:05 -0000)
commit882cec3e40af63d1866cab7b1ce322d70f94c7df
tree3e4b67444ff26ab535ab703918f7337b14f69538
parent29128cd4122c6f5edad767363615681bee1db04f
YAEGASHI Takeshi writes:

Hi,

With the following /etc/fstab (any two or more lines of nfs), mount -a
-t nfs causes a segmentation faults.

server:/exports/aaa /mnt/aaa nfs defaults 0 0
server:/exprots/bbb /mnt/bbb nfs defaults 0 0

In util-linux/nfsmount.c, it overwrites malloc'ed pointer *mount_opts
with a static pointer.  With this patch it does proper memory realloc
and data copy instead.
util-linux/nfsmount.c