OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1532-gee56107

Gerrit Code Review gerrit@openafs.org
Sat, 13 Aug 2011 19:08:07 -0700 (PDT)


The following commit has been merged in the master branch:
commit ee56107d4d168ef07968afeaa7f1c5b39f5c5b23
Author: Garrett Wollman <wollman@csail.mit.edu>
Date:   Sat Aug 13 19:12:50 2011 -0400

    libafs: don't free the NULL we get from a failed allocation
    
    In extractPioctlToken(), if we fail to allocate space for
    token_opaque_val, don't immediately pass the null pointer
    to osi_Free on the error exit path.
    
    Change-Id: Ic95e178cfbc1b1bbcb18701c0bbd5221426342ee
    Found-by: clang static analyzer with help from AFS_NONNULL
    Reviewed-on: http://gerrit.openafs.org/5262
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementix.org>

 src/afs/afs_tokens.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

-- 
OpenAFS Master Repository