Eliminate buggy pgpPrtComment()
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 1 Nov 2011 08:52:13 +0000 (10:52 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 1 Nov 2011 09:03:49 +0000 (11:03 +0200)
commitdfc89e85dd2b75cbadf6931415e4217503fe7e19
treeea2813dce8c85d5913d15052ef558b6ae4960986
parent2ba01d4b8138ffae88d13dbd431d95b36751db2d
Eliminate buggy pgpPrtComment()

- Removes another source of stupid bugs: for rpm's purposes we're not
  interested in PGP comment tag contents, and the implementation
  here was unsafe as it assumes there always is a terminating \0
  somewhere in the packet which might not be true for a malformed packet.
rpmio/rpmpgp.c