[KongchangAI]
Conceptbinary patch

Binary Patch

The binary diff format used by git apply and format-patch in Git, which describes byte-block insertions, deletions and modifications using base85 encoding together with offsets. Insufficient validation of length fields by the parser creates risks of integer overflow or heap out-of-bounds access.

Timeline (last 90 days)

Nov 10

Binary patches are the binary diff format used by git apply / format-patch, which uses base85 encoding to describe added, deleted, and modified byte blocks and their offsets.

Unverified50%
Nov 10

The binary patch parser needs to allocate buffers based on the header size information, and if length fields are not sufficiently validated, integer overflow or heap out-of-bounds access may be triggered.

Unverified50%

All Facts (2)

Source Articles