13 lines
576 B
Diff
13 lines
576 B
Diff
|
diff -urN nfs4-acl-tools-0.3.3/GUI/nfs4-acl-editor/nfs4acleditor.cpp nfs4-acl-tools-0.3.3-fixed/GUI/nfs4-acl-editor/nfs4acleditor.cpp
|
||
|
--- nfs4-acl-tools-0.3.3/GUI/nfs4-acl-editor/nfs4acleditor.cpp 2008-12-03 17:18:24.000000000 -0500
|
||
|
+++ nfs4-acl-tools-0.3.3-fixed/GUI/nfs4-acl-editor/nfs4acleditor.cpp 2010-09-08 13:23:49.000000000 -0400
|
||
|
@@ -569,7 +569,7 @@
|
||
|
if (i > strlen(ace->who)) {
|
||
|
dprintf("syncWho(): fromlen %d tolen %u\n", strlen(ace->who), i);
|
||
|
}
|
||
|
- strlcpy(ace->who, who, NFS4_MAX_PRINCIPALSIZE);
|
||
|
+ strncpy(ace->who, who, NFS4_MAX_PRINCIPALSIZE);
|
||
|
}
|
||
|
}
|
||
|
|