Skip to content

Commit 703f876

Browse files
authored
Add apply limits to the differences list (#79)
1 parent 12fda45 commit 703f876

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,8 @@ The parsing code has also had a modest amount of fuzz testing.
103103
7. When parsing mail-formatted patch headers, leading and trailing whitespace
104104
is always removed from `Subject` lines. There is no exact equivalent to `git
105105
mailinfo -k`.
106+
107+
8. When applying patches, the library enforces limits on binary patch sizes by
108+
default that are not enforced by `git apply`. Clients may disable these
109+
limits at the risk of allowing significant memory allocation when processing
110+
untrusted patches.

0 commit comments

Comments
 (0)