Login  |  Packages  |  Support  |  Bugs

Return

Changelog for xdiff
Release What has changed?
2.2.0 - Fixed memory leak when $error parameter is refcounted in patch/merge functions
- Fixed inverted return value in xdiff_file_bpatch() (returned true on failure)
- Fixed missing error checks in xdiff_string_diff/bdiff/rabdiff()
- Fixed potential double-free and size overflow in append_string()
- Fixed unchecked php_stream_read() return in load_mm_file()
- Fixed size truncation: use size_t consistently, add LONG_MAX bounds checks
- Fixed signed/unsigned mismatches in callback functions
- Added PIE support (composer.json)
2.1.1 - Fixed bug #81552 xdiff_string_bpatch() and others missing (Kevin Israel)
- Fixed bug #77826 xdiff_string_bpatch wrong return value on error (SATO Kentaro)
2.1.0 - PHP 8 support
- Drop PHP 5 support
2.0.1 - Update License to PHP 3.1
2.0.0 - PHP 7 Release
1.5.2 - Fixed bug #61358 ("Warning: String is not zero-terminated" failing tests w/PHP 5.3.10)
- Fixed build on PHP 5.4+
1.5.1 Fix for #16566.
1.5.0 New functions added. Memory optimizations. Better handling of out of memory situations.
1.4.1 Fixes for #7215, #7422 and #8227.
1.4 Fixed bug #5064.

1.3 Fix compile error.
1.2 Fix libxdiff 0.9 crash. Force last parameters of xdiff_string_patch and xdiff_string_merge3 to be passed by reference.
1.1 Fix FreeBSD build.
1.0 Add support to memory_limit (libxdiff >= 0.6 required).
0.3 Win32 build fixes.
0.2 Initial release.

Return

PRIVACY POLICY  |  CREDITS
Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Sep 03 10:50:24 2025 UTC
Bandwidth and hardware provided by: pair Networks