Descriptiongoobspatch: Improve sanity checks for invalid patches.
This patch checks that the length passed to cfread() is non
negative. The individual read methods on cfread() check for failure
while reading a negative value, but the actual failure is a malformed
patch.
R=mark@chromium.org
BUG=chromium:372525
TEST=Manually run a local bad patch and check it fails with the new message.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269935
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|