]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
mount.nfs: Use dynamically allocated character buffers
authorChuck Lever <chuck.lever@oracle.com>
Fri, 24 Aug 2007 17:11:27 +0000 (13:11 -0400)
committerNeil Brown <neilb@suse.de>
Fri, 24 Aug 2007 22:19:33 +0000 (08:19 +1000)
Replace the use of static character arrays with buffers allocated via
xstrdup() in stropts.c.

I added a couple of extra length checks; not sure if these are really
necessary.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Neil Brown <neilb@suse.de>

No differences found