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:
40726dd
)
Another pgp parser fix.
author
jbj
<devnull@localhost>
Mon, 16 Sep 2002 23:24:41 +0000
(23:24 +0000)
committer
jbj
<devnull@localhost>
Mon, 16 Sep 2002 23:24:41 +0000
(23:24 +0000)
CVS patchset: 5713
CVS date: 2002/09/16 23:24:41
rpmio/rpmpgp.c
patch
|
blob
|
history
diff --git
a/rpmio/rpmpgp.c
b/rpmio/rpmpgp.c
index 3f301c3260aaf2090dbb682a3fe6f4fa4e88af6b..609d8dd536078a5b7c7f7db0a563a34627b58f63 100644
(file)
--- a/
rpmio/rpmpgp.c
+++ b/
rpmio/rpmpgp.c
@@
-625,6
+625,8
@@
fprintf(stderr, " unhash[%u] -- %s\n", plen, pgpHexStr(p, plen));
/*@=mods@*/
p += 2;
+ if (p > (h + hlen))
+ return 1;
rc = pgpPrtSigParams(tag, v->pubkey_algo, v->sigtype, p, h, hlen);
} break;