1
0
mirror of https://github.com/moparisthebest/pacman synced 2025-03-01 01:41:52 -05:00
Dan McGee 8973875a1f _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>
2011-08-28 23:50:28 -05:00
..
2011-08-19 11:09:57 -05:00
2011-06-28 14:04:00 +10:00
2011-07-02 02:01:39 +10:00
2011-08-28 23:41:17 -05:00
2011-08-15 06:24:49 -05:00
2011-08-15 06:24:49 -05:00
2011-08-28 23:49:27 -05:00
2011-08-28 23:49:27 -05:00
2011-08-18 10:47:41 -05:00
2011-06-28 23:28:23 +10:00
2011-06-28 14:04:00 +10:00
2011-06-28 23:28:24 +10:00
2011-06-28 23:28:24 +10:00
2011-07-18 21:06:24 -05:00
2011-07-02 02:01:39 +10:00
2011-06-28 23:28:24 +10:00
2011-08-28 23:41:17 -05:00
2011-06-28 23:28:24 +10:00
2011-06-28 23:28:24 +10:00
2011-07-05 22:36:40 -05:00
2011-07-06 09:26:09 -05:00
2011-08-28 19:52:10 -05:00
2011-06-28 14:04:00 +10:00
2011-08-15 12:13:35 -05:00