diff options
author | Dan McGee <dan@archlinux.org> | 2011-08-28 23:05:20 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-28 23:50:28 -0500 |
commit | 8973875a1fc52ec35c255afd34c9cd7d5c285caa (patch) | |
tree | 12e0fdcfa46d1ec8337a00e43c981ede41bcb41b /lib/libalpm/po/sk.po | |
parent | b221af660d101301606e263cef73b358937516a6 (diff) | |
download | pacman-8973875a1fc52ec35c255afd34c9cd7d5c285caa.tar.xz |
_alpm_splitdep(): don't pass bogus length value to strndup
If we fell through to the ALPM_DEP_MOD_ANY case, ptr would be NULL, and
we would pass (0 - <str>), which is a rather large negative number or
bogus positive number, depending on signed/unsigned. Just use strdup in
the case where we don't have a ptr available.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/po/sk.po')
0 files changed, 0 insertions, 0 deletions