Re: [hatari-devel] nf_scsidrv.c, NULL sense data buffer issue

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


You can discard this issue. There was a bug in my code, causing a buffer
overflow.

> I just found that the problem I stumbled upon is most likely not related to
> Hatari/nf_scsidrv.c.
> Please do not spend time on it, I will have to run more tests.
> 
> > Hi,
> > 
> > When the sense data buffer passed to the SCSI Driver is NULL, TOS crashes
> > with 4 bombs, even though NULL is a legal value.
> > There must be something wrong with how a NULL sense data buffer is handled
> > in scsidrv_inout. I don't know (anymore) how st_sense_buffer and
> > sense_buffer are related, but I guess one of the fields is not dealt with
> > correctly when the ST passes NULL. Any idea what's wrong?
> > 
> > Best regards
> > 
> > Uwe
> > 
> > 
> 
> 



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/