summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2011-09-30 15:28:00 +0300
committerPanu Matilainen <pmatilai@redhat.com>2011-09-30 15:28:00 +0300
commit30635dd4330a192fa2b6e202a0e2490eba599a93 (patch)
tree3dd514f33d7c761e7c5ddb1748fa729253e5fbc4 /lib
parenta48f0e20cbe2ababc88b2fc52fb7a281d6fc1656 (diff)
downloadlibrpm-tizen-30635dd4330a192fa2b6e202a0e2490eba599a93.tar.gz
librpm-tizen-30635dd4330a192fa2b6e202a0e2490eba599a93.tar.bz2
librpm-tizen-30635dd4330a192fa2b6e202a0e2490eba599a93.zip
Sanity check OpenPGP packet lengths in pgpPrtSubType()
- Sub-packet prefix length + packet length can't very well be larger than the remaining packet length. In addition to sanity checking, return an error code and have callers actually check for it. - Fixes (yet another) segfault on malformed package (RhBug:742499)
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions