diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-12-17 09:08:33 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-12-17 09:08:33 +0000 |
commit | bb6135fadcc239f8c226b406877b6b4db1ef981f (patch) | |
tree | 2ec50647b7b9c885d7abb94687d0b7f746b88609 | |
parent | 8133a2c956733ee12a2a02f1b142844b449e1c4e (diff) | |
download | perl-URPM-bb6135fadcc239f8c226b406877b6b4db1ef981f.tar perl-URPM-bb6135fadcc239f8c226b406877b6b4db1ef981f.tar.gz perl-URPM-bb6135fadcc239f8c226b406877b6b4db1ef981f.tar.bz2 perl-URPM-bb6135fadcc239f8c226b406877b6b4db1ef981f.tar.xz perl-URPM-bb6135fadcc239f8c226b406877b6b4db1ef981f.zip |
don't crash when header is not available (fixes synthesis.t with rpm 4.4.2.2)
(backport from HEAD)
-rw-r--r-- | URPM.xs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -447,7 +447,7 @@ return_list_str(char *s, Header header, int_32 tag_name, int_32 tag_flags, int_3 static int xpush_simple_list_str(Header header, int_32 tag_name) { dSP; - { + if (header) { int_32 type, c; char **list = NULL; int i; |