Files
macports-ports/devel/libcdio/files/remove-additional-byte-TOC-buffer.diff
2024-02-28 09:18:20 -05:00

13 lines
419 B
Diff

Upstream patch: https://git.savannah.gnu.org/cgit/libcdio.git/commit/?id=6f2426e8bf4dc5269ccbd9fbfa94340895f8be6e
--- lib/driver/osx.c.orig
+++ lib/driver/osx.c
@@ -1232,7 +1232,7 @@
CFRange range;
CFIndex buf_len;
- buf_len = CFDataGetLength( data ) + 1;
+ buf_len = CFDataGetLength( data );
range = CFRangeMake( 0, buf_len );
if( ( p_env->pTOC = (CDTOC *)malloc( buf_len ) ) != NULL ) {