Remove the comments about the bug that was just addressed. Thanks again to
Peter J. Creath
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: interface.c,v 1.24 2005/04/30 07:15:51 rocky Exp $
|
$Id: interface.c,v 1.25 2005/10/04 00:38:34 rocky Exp $
|
||||||
|
|
||||||
Copyright (C) 2005 Rocky Bernstein <rocky@panix.com>
|
Copyright (C) 2005 Rocky Bernstein <rocky@panix.com>
|
||||||
Copyright (C) 1998 Monty xiphmont@mit.edu
|
Copyright (C) 1998 Monty xiphmont@mit.edu
|
||||||
@@ -152,13 +152,6 @@ cdio_cddap_read(cdrom_drive_t *d, void *buffer, lsn_t beginsector,
|
|||||||
uint16_t *p=(uint16_t *)buffer;
|
uint16_t *p=(uint16_t *)buffer;
|
||||||
long els=sectors*CDIO_CD_FRAMESIZE_RAW/2;
|
long els=sectors*CDIO_CD_FRAMESIZE_RAW/2;
|
||||||
|
|
||||||
/* Note: Something perhaps in the original cdparanoia code might
|
|
||||||
cause the code to access outside of the allocated range of
|
|
||||||
buffer. This comment is just to serve as a marker for
|
|
||||||
the loop where the data got clobbered. I don't think this
|
|
||||||
code however is wrong. See the comment in i_read_c_block
|
|
||||||
of paranioa.c
|
|
||||||
*/
|
|
||||||
for(i=0;i<els;i++)
|
for(i=0;i<els;i++)
|
||||||
p[i]=UINT16_SWAP_LE_BE_C(p[i]);
|
p[i]=UINT16_SWAP_LE_BE_C(p[i]);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: paranoia.c,v 1.12 2005/10/03 02:31:11 rocky Exp $
|
$Id: paranoia.c,v 1.13 2005/10/04 00:38:34 rocky Exp $
|
||||||
|
|
||||||
Copyright (C) 2004, 2005 Rocky Bernstein <rocky@panix.com>
|
Copyright (C) 2004, 2005 Rocky Bernstein <rocky@panix.com>
|
||||||
Copyright (C) 1998 Monty xiphmont@mit.edu
|
Copyright (C) 1998 Monty xiphmont@mit.edu
|
||||||
@@ -1238,7 +1238,6 @@ i_read_c_block(cdrom_paranoia_t *p,long beginword,long endword,
|
|||||||
|
|
||||||
if (firstread<0) firstread = adjread;
|
if (firstread<0) firstread = adjread;
|
||||||
|
|
||||||
/* See FIXME note above about a possibly erroneous call here. */
|
|
||||||
thisread = cdda_read(p->d, buffer+sofar*CD_FRAMEWORDS, adjread, secread);
|
thisread = cdda_read(p->d, buffer+sofar*CD_FRAMEWORDS, adjread, secread);
|
||||||
|
|
||||||
if ( thisread < secread) {
|
if ( thisread < secread) {
|
||||||
|
|||||||
Reference in New Issue
Block a user