summaryrefslogtreecommitdiffstats
path: root/dhash
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
commite80dfd59fb89d37ba317cceb24a8c9353c70eb18 (patch)
tree857812b86424ab13b6b9ac09caa26315157cc4e3 /dhash
parent7ea74ac64811265384c8b2b2a6f12f88b63b3d95 (diff)
downloadding-libs2-e80dfd59fb89d37ba317cceb24a8c9353c70eb18.tar.gz
ding-libs2-e80dfd59fb89d37ba317cceb24a8c9353c70eb18.tar.xz
ding-libs2-e80dfd59fb89d37ba317cceb24a8c9353c70eb18.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 'dhash')
0 files changed, 0 insertions, 0 deletions