Don't assume rpmteNew() always succeeds, part III
authorPanu Matilainen <pmatilai@redhat.com>
Sat, 28 Jan 2012 13:17:02 +0000 (15:17 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Sat, 28 Jan 2012 13:17:02 +0000 (15:17 +0200)
commit5aeebe8d695471835a4984cb0e7e4f4c8d206d70
treed3ac337084457f0f2825a39836effaf3e877b734
parent0b65068823cb97107999cda3b3e3c2cd6628c073
Don't assume rpmteNew() always succeeds, part III

- Return error from verifyscript if rpmteNew() fails. This can't
  currently happen but handling this error makes it possible to
  do sanity checks on the header contents, such as file list integrity etc.
  Unlikely to occur for installed packages, but verify can be run
  on non-installed packages as well, where failure is more of a possibility.
lib/verify.c