Sanity check region offset in regionSwab()
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 29 Sep 2011 09:50:57 +0000 (12:50 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 29 Sep 2011 10:04:56 +0000 (13:04 +0300)
commit11a7e5d95a8ca8c7d4eaff179094afd8bb74fc3f
tree900fd4229fa1567fc066463fcf7618da0990841b
parentc6c364317b4f5d1e31e0f27094d6b1af3778881d
Sanity check region offset in regionSwab()

- Region offsets are supposed to be negative when when an entry
  is involved, otherwise zero. Fixes some cases of crash'n'burn on
  malformed headers having bogus offsets (CVE-2011-3378)
lib/header.c