OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3595-g788a6b6
Gerrit Code Review
gerrit@openafs.org
Sat, 9 Mar 2013 19:16:28 -0800 (PST)
The following commit has been merged in the master branch:
commit 95cd5b1d950ecb820179e4279b8570d8ad6780f5
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Sat Mar 2 12:00:47 2013 +0000
afsmonitor: Fix theoretical overflow of handler string
Don't do an unbounded copy into the thresh structure's handler
string, in case the caller has passed us a string which is too
long.
Instead, switch to strlcpy for all string copies.
Caught by coverity (#985761)
Change-Id: I80e3d35d7a9a4b57e8efc0cb0c7b2dc12f021063
Reviewed-on: http://gerrit.openafs.org/9443
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/afsmonitor/afsmonitor.c | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
--
OpenAFS Master Repository