Allocate the exact string length needed for the string in symlink
authorNickolai Zeldovich <kolya@mit.edu>
Mon, 18 Mar 2002 03:03:04 +0000 (03:03 +0000)
committerNickolai Zeldovich <kolya@mit.edu>
Mon, 18 Mar 2002 03:03:04 +0000 (03:03 +0000)
commit209f1c22577c2314a896de997bd7939fab2e3d52
treee627d890aa3f789804f2ac3dc7884cedff6cced2
parent246f955432b4d00d8f1ffbe62aa9c2a048833c2f
Allocate the exact string length needed for the string in symlink
contents, rather than assuming that symlink data never contains
nulls (or that it's of the length we expect).
src/afs/VNOPS/afs_vnop_symlink.c