diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2011-09-30 15:28:00 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2011-09-30 15:28:00 +0300 |
commit | 30635dd4330a192fa2b6e202a0e2490eba599a93 (patch) | |
tree | 3dd514f33d7c761e7c5ddb1748fa729253e5fbc4 /lib/rpmchroot.c | |
parent | a48f0e20cbe2ababc88b2fc52fb7a281d6fc1656 (diff) | |
download | librpm-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/rpmchroot.c')
0 files changed, 0 insertions, 0 deletions