diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-08-18 09:42:21 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-18 07:38:31 -0500 |
commit | 0745288c1441c73a0c6ce4279823d8363bcdc62f (patch) | |
tree | e46f70f0fe8e84ce8d9a0faebbb3554f155eb37f /lib/libalpm/error.c | |
parent | 9f139550f815e2970b8929094e50acfd8b4cc2b7 (diff) | |
download | pacman-0745288c1441c73a0c6ce4279823d8363bcdc62f.tar.xz |
lib/libalpm/dload.c: Add ASSERT() to alpm_fetch_pkgurl()
Return with ALPM_ERR_WRONG_ARGS instead of causing a potential segfault
if alpm_fetch_pkgurl() is invoked with a NULL URL.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/error.c')
0 files changed, 0 insertions, 0 deletions