diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-01-19 14:25:55 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-01-19 14:25:55 +0200 |
commit | 2a20195616ad366f060bea772342a99b96735205 (patch) | |
tree | d57bb66c985faf972ca6299e74466a3c39eed0e7 /lib/psm.c | |
parent | ffcd6a60fc38dfe0d10f22c6023df3e932996310 (diff) | |
download | rpm-2a20195616ad366f060bea772342a99b96735205.tar.gz rpm-2a20195616ad366f060bea772342a99b96735205.tar.bz2 rpm-2a20195616ad366f060bea772342a99b96735205.zip |
Fix segfault if ts rootdir is NULL (Pixel)
Diffstat (limited to 'lib/psm.c')
-rw-r--r-- | lib/psm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -272,7 +272,7 @@ rpmRC rpmInstallSourcePackage(rpmts ts, FD_t fd, } } - if (strcmp(rootdir, "/") == 0) + if (rootdir && strcmp(rootdir, "/") == 0) rootdir = NULL; if (specix >= 0) { |