mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
13 lines
419 B
Diff
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 ) {
|