Commit Graph

3 Commits

Author SHA1 Message Date
Maciej Fijalkowski
a294e6bdcf pypy: fix overeager pattern matching on mpatchError
Pypy have difference in error reporting.
2016-04-05 10:59:46 +03:00
timeless
4fca2b2f02 mpatch: unify mpatchError (issue5182)
The pure version was mpatch was throwing struct.error or ValueError
for errors, whereas the C version was throwing an "mpatch.mpatchError".

Introducing an mpatch.mpatchError into pure and using it consistently
is fairly easy, but the actual form for it is mercurial.mpatch.mpatchError,
so with this commit, we change the C implementation to match the naming
convention too.
2016-03-31 02:05:28 +00:00
Matt Mackall
4622bdc826 parsers: fix list sizing rounding error (SEC)
CVE-2016-3630 (1/2)

This addresses part of a vulnerability in application of binary
deltas.
2016-03-16 17:29:29 -07:00