[hatari-devel] nf_scsidrv.c, NULL sense data buffer issue |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: [hatari-devel] nf_scsidrv.c, NULL sense data buffer issue
- From: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Date: Fri, 25 Oct 2024 22:09:01 +0200
- Arc-authentication-results: i=1; strato.com; arc=none; dkim=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1729886955; s=strato-dkim-0002; d=strato.com; h=Message-ID:Subject:To:From:Date:Cc:Date:From:Subject:Sender; bh=CxDNbE0ZeIPJ9NcaxZMsCToRr9q4dfyO65RPA7+7PLA=; b=E2kYMQi0PiV8aN1N2WzSQKZGj3N7y+hj+5EhPYdWuI7iMA6xt4Ja/dKAtrFiy2rShP RGABwXBaTLiSyJ6PGZtJBR9DT3P/JcFx2SlJ8XMdZICGLKF/owPG/KK/O5rMSb0h0AcR XR8LzEOEfvXnBxFctXcIvvkR1nAiILiUJHbhU/+mkCdtwIbO+yolVO8bSr3bQJfeaUQx gpIL+guXP61uOV+1dywFvJhUCbgp+oAFSV7BYYKqF4NdKP/wJUDcV7v214WHkmVNrDSs sxvntZPBBybp2aZF1Yxi4Us5LPQ65wIyOeEblwl5rOkXhRZ98JVRaYxkNCyDWEdg92N4 z5xQ==
- Arc-seal: i=1; a=rsa-sha256; t=1729886955; cv=none; d=strato.com; s=strato-dkim-0002; b=YGPZu3tXFoJBOl0wakhcHl7L7BELSJgyOhK9YYk+Ob09ieA39nnu7FXMys/DAagYIu jZCJ+hznyJXfW3V5tb/nt1LcgCMdxSDLGTCoN4sirjrvdUhVIcbaAb50jtqQTLsmpRlE Z4r7UN43XqwdtIs2dnCTL85EI7AwD3/dVlK6cA+e3euuIw7uDNWhJK5xQ3cQJLYrAHe5 aCAyiWdlZPt95UssLWqgd1tNd1KI5yWdVUOpR1zAost1E9V/b7mePJsUB8hj0rhoXsgH ax5/I/ghwFyGmc+CkR3yO7bj6fIu2EhHvqqdN4OUIskVX8KwzBwarLTUnrVxgjI0kMuW VKbA==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1729886955; s=strato-dkim-0002; d=seimet.de; h=Message-ID:Subject:To:From:Date:Cc:Date:From:Subject:Sender; bh=CxDNbE0ZeIPJ9NcaxZMsCToRr9q4dfyO65RPA7+7PLA=; b=A8om5q6XzL7uUfrGGKKnCLF5b6VQ6t8BUbDVdFq71cUG9dMrPUJNVcGk05KypbI3QR 81ySQUnW4848+86CM0jlce6ei9G0B9XjiKmK8mLIyehCXtAzcJ6Zu6dImPSNoI7k/GA8 jPCtBgR4hxMLR+WnlCcr9ZOeflQaR3KYOOLLltPlsyADZa5kMA86GszyTyRwbDRjvS4N Dj5vV43OKhyc4TzpKVTTlc1B0tDUQ8aMccb599bK/RGU085I++c6BKRE8ink1zxf5T9V jqRT1QSJoIWAhBjTVBJPASsQGioj4HcWSVM+5afzUvVlPEmnAG4MJn8QShXL2RRRUaSu kZSg==
- Dkim-signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1729886955; s=strato-dkim-0003; d=seimet.de; h=Message-ID:Subject:To:From:Date:Cc:Date:From:Subject:Sender; bh=CxDNbE0ZeIPJ9NcaxZMsCToRr9q4dfyO65RPA7+7PLA=; b=l2mgw6oxc+OC8XDfMLdijhnJiRy2UkZbzKmtoJJFX5aXEtKvewzceInq1RwFVQFEdB VCsaBH/0BwsvCFSEGyAg==
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