Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/add.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-02-24 01:17:17 -0600
committerDan McGee <dan@archlinux.org>2008-02-24 01:17:17 -0600
commit96f7613d15e46131bf8a4b93828ad70b041524d1 (patch)
treef65e1b56d32519fa8c85e8339746f3a5b5e9d37b /lib/libalpm/add.h
parent105e01c8efcb3a27cb55cc5dd7bf15afbea80698 (diff)
Add some NULL checks into recently modified output functions
After a merge with master where some strings we print (such as descriptions) could be NULL, a few segfaults popped up due to strlen() calls on null pointers. Fix this by doing some preemptive checks and returning from functions early if the string was null. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/add.h')
0 files changed, 0 insertions, 0 deletions