]> git.draconx.ca Git - upkg.git/commitdiff
libupkg: Fix spurious success in upkg_decode_index.
authorNick Bowler <nbowler@draconx.ca>
Fri, 4 May 2012 00:28:52 +0000 (20:28 -0400)
committerNick Bowler <nbowler@draconx.ca>
Fri, 4 May 2012 00:50:53 +0000 (20:50 -0400)
Make the upkg_decode_index function fail if the input is truncated,
rather than successfully returning a bogus value.  As an added bonus,
this actually simplifies the code.


No differences found