projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9da6dce
)
Don't segfault on unknown format specifiers
author
Panu Matilainen
<pmatilai@redhat.com>
Thu, 18 Sep 2008 09:36:31 +0000
(12:36 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Thu, 18 Sep 2008 09:36:31 +0000
(12:36 +0300)
lib/headerfmt.c
patch
|
blob
|
history
diff --git
a/lib/headerfmt.c
b/lib/headerfmt.c
index
1c05c89
..
2800d19
100644
(file)
--- a/
lib/headerfmt.c
+++ b/
lib/headerfmt.c
@@
-256,7
+256,7
@@
bingo:
if (stag->type != NULL)
stag->fmt = rpmHeaderFormatFuncByName(stag->type);
- return
0
;
+ return
stag->fmt ? 0 : 1
;
}
/* forward ref */