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

Gernot Hillier gernot at hillier.de
Thu Sep 19 08:12:22 PDT 2002


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

Hi!

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 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

iD8DBQE9ielYk997/GGeSeIRAuf4AJoCLSD1aXG3inrlQ/5WsZfmkqG3UQCgi0pM
qdIWPJUgy7ic0O+PHD5yj0o=
=B1nA
-----END PGP SIGNATURE-----

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


More information about the Paranoia mailing list