[paranoia-dev] [paranoia] [PATCH] fix for possible crash in cdda_identify_scsi() (interface/scan_devices.c)

Gernot Hillier gernot at hillier.de
Mon Sep 23 13:28:23 PDT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

I hope this is not the wrong list here as my mail concerns a patch for 
paranoia III, but as I got no response on the user list, I'll try here:

I always got a SIGSEGV in a KDE cd burning tool (k3b) after turning off my 
SCSI-scanner. 

With the help of SuSE, I now found out that the crash was caused by 
cdparanoia-III-alpha9.8.

Please see the attached patch - NULL value of the result of scsi_inquiry() 
wasn't checked correctly which lead to a SIGSEGV in strncmp() naturally...

If this is also not the right place to send patches to, please tell me what it 
is... ;-)

- -- 
Ciao,

Gernot
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9j3lpk997/GGeSeIRAt1EAJ4tIq+9gSTRe371KyOaB/CbhmqZNgCfdE0u
h7lGg+KVteEXk2uHB1DpBxQ=
=nlDN
-----END PGP SIGNATURE-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cdparanoia-III-alpha9.8-solve-crash.patch
Type: text/x-diff
Size: 1374 bytes
Desc: cdparanoia-III-alpha9.8-solve-crash.patch
Url : http://lists.xiph.org/pipermail/paranoia-dev/attachments/20020923/616a783b/cdparanoia-III-alpha9.8-solve-crash.bin


More information about the Paranoia-dev mailing list