summaryrefslogtreecommitdiffstats
path: root/src/confdb/confdb.c
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-03-25 15:28:30 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-03-25 15:55:51 -0400
commitf94abf5319d8f74cacae0a98d3925d18eb6839eb (patch)
treebdee102c43ad2ac0283ec8f3706eaf0d39902ae2 /src/confdb/confdb.c
parent6bb57251fe37792e545a4dc3823bc1856760ed5d (diff)
downloadsssd-f94abf5319d8f74cacae0a98d3925d18eb6839eb.tar.gz
sssd-f94abf5319d8f74cacae0a98d3925d18eb6839eb.tar.xz
sssd-f94abf5319d8f74cacae0a98d3925d18eb6839eb.zip
Fix path_utils_ut segfault
In the case where the allocated buffer is not large enough to hold the resulting absolute path, we were writing out a null terminator outside of the buffer, instead of at its beginning. Also fixes potential issue where split_path would not initialize the count to zero if it returned a failure.
Diffstat (limited to 'src/confdb/confdb.c')
0 files changed, 0 insertions, 0 deletions