diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-12-14 10:04:27 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-12-14 10:04:27 +0000 |
commit | 9012e38cad2b0bca32588e02198ceced32c219d5 (patch) | |
tree | f20492a13c89bd199166972c9c834821cdc9064d | |
parent | c7ca3fb1600bbe15b507f0ecf0f7f3007da25fab (diff) | |
download | perl-URPM-9012e38cad2b0bca32588e02198ceced32c219d5.tar perl-URPM-9012e38cad2b0bca32588e02198ceced32c219d5.tar.gz perl-URPM-9012e38cad2b0bca32588e02198ceced32c219d5.tar.bz2 perl-URPM-9012e38cad2b0bca32588e02198ceced32c219d5.tar.xz perl-URPM-9012e38cad2b0bca32588e02198ceced32c219d5.zip |
don't crash when header is not available (fixes synthesis.t with rpm 4.4.2.2)
-rw-r--r-- | URPM.xs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -469,7 +469,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; |