Fix dribble length calculation on headerLoad()
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 24 Nov 2011 08:44:14 +0000 (10:44 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 24 Nov 2011 09:12:03 +0000 (11:12 +0200)
commit858a328cd0f7d4bcd8500c78faaf00e4f8033df6
tree9376210b5c1a9a348c9d73b874fecd05e9ed19e7
parent0761bad2697d3baadac9854be6838fbb603971c0
Fix dribble length calculation on headerLoad()

- When calculating length of dribbles, we need to take into account the
  size up to that point, otherwise the alignment can be wrong causing
  the sizes not to add up.
- With that mystery solved, we can now make the final length check
  as strict as it should be.
lib/header.c