OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2337-gd55a5d7
Gerrit Code Review
gerrit@openafs.org
Sun, 8 Apr 2012 18:22:23 -0700 (PDT)
The following commit has been merged in the master branch:
commit d55a5d70802a1907ef7cf9c9d20646cb69e89989
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Sat Mar 31 14:42:39 2012 -0400
pts: Don't malloc(0) when there's nothing to do
If GetNameOrId is called with no work to do, then don't attempt to
malloc a load of 0 length strings. Instead just return an empty array
to the caller.
Change-Id: I245cfde71d65b8a3b6df4217b90dad81e9e60a58
Reviewed-on: http://gerrit.openafs.org/7100
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/ptserver/pts.c | 18 ++++++++++++++----
1 files changed, 14 insertions(+), 4 deletions(-)
--
OpenAFS Master Repository