Added sanity checks on pgpPrtPkts() entry
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 4 Nov 2011 10:24:32 +0000 (12:24 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 4 Nov 2011 10:24:32 +0000 (12:24 +0200)
commit03b3d699c3b84c3088df23f4e961f6d9a597f7e4
tree680066ce2c5629242af1e05a4b351e712df63ba5
parent143c249243ad406189aedf42d2c36e3e5eb8436a
Added sanity checks on pgpPrtPkts() entry

- Error out cleanly on NULL pkts pointer (caller error but not worth
  dying for)
- Error out early if packet is clearly not valid
rpmio/rpmpgp.c