Fix long-standing segfault on unknown tags on header iteration queries
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 29 Nov 2010 13:56:55 +0000 (15:56 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 29 Nov 2010 13:56:55 +0000 (15:56 +0200)
commit9173e0f85972849df37dd6b5f3bb38c98730d4dc
tree0e36a1b925a3a473c6c6a228b3a678691e16cc86
parent8c925108fb90ebb0394874adbc1078d213cc40cf
Fix long-standing segfault on unknown tags on header iteration queries
- The simple and stupid tag cache was a bit too simple, failing
  to deal with unknown tags larger than our own tag table correctly.
  Use a hash table instead which is a far better suited for the
  sparse tag numbers anyway.
lib/headerfmt.c