OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3607-g8c664a8
Gerrit Code Review
gerrit@openafs.org
Mon, 11 Mar 2013 07:27:28 -0700 (PDT)
The following commit has been merged in the master branch:
commit b0b3def56c15161df28059e270f0360c31241217
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Sat Mar 2 12:38:49 2013 +0000
audit: Fix overflow in file backend
If the filename passed to open_file was larger than MAXPATHLEN-5,
then we'd overflow the oldName buffer when creating the backup
filename. Fix the overflow by using a malloc'd buffer instead.
Caught by coverity (#985767)
Change-Id: Ie364aae0749b3658ab11a354844878d10c6970ab
Reviewed-on: http://gerrit.openafs.org/9448
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
src/audit/audit-file.c | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
--
OpenAFS Master Repository