Re: [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: Re: [hatari-devel] nf_scsidrv.c, NULL sense data buffer issue
- From: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Date: Fri, 25 Oct 2024 22:23:07 +0200
- Arc-authentication-results: i=1; strato.com; arc=none; dkim=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1729887800; s=strato-dkim-0002; d=strato.com; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=9RcIboQ4FDSqY3EH8gYNwlHpXRWwYKAnmI5FwlWg5AM=; b=GnZ1CjBrBuyWyb4KA5+DQH20HmLPvPHg7KSRBaqMQbBel2I9t++DHqB2a7cZ9R5vVS kXOtWcs1oo7RZPjh6J8MXR6ydfz2Ld8euCtkHC53ACDg+uLF3hlfax8bpQA626H4dxOO hDmhOeA8BIQoMteyPRnfQ7tqNM4mA75CeqFR6/0wmIS4qj+tHz2bDpycoP798pPX5Vfq CzkNRIAJX/ba4NEVdS7/XsuPtIFTaJ1ByEZ/1LHSnqNcm+3C8uxbYg1POcrNZjTNsixB 86vsztPMbfyNZTKeQaRa2VIm39UAYf4nJf0AeS5AwSNajC9B+1MLTHSc/TyLWwf6trmp 4SBw==
- Arc-seal: i=1; a=rsa-sha256; t=1729887800; cv=none; d=strato.com; s=strato-dkim-0002; b=FjJlzh2B3Htf8egwg+uSSt6d/CIsde+dvY2+IVF4CM9lN0PWzO6QcHDZjo/n3R1szP LUFXhgMWySEt6n7pnwWkFj64rxBqUC69e9k28SQn+AVZc01zrDlXivmpPrMZsNReYQSM WfJWnUszG1LriJXgs11PE9O6IYcHGUgeXjjsUMVpZYzCEi9xLu3nnwZ3Pz+vd0WkrsC6 DtbNt7x7g//qSEtChGUG5CmAR+pfKqvMerRIoeNq6ROtPlHZHdwDqsFYYNGZsk97HAnH 3wBRREsn1P8nbzm5jRbjJfNm3QBm/ci2K8TzXcIvbNkRqLK5Q0LjpaORR4KGqFz0v6hx vQYA==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1729887800; s=strato-dkim-0002; d=seimet.de; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=9RcIboQ4FDSqY3EH8gYNwlHpXRWwYKAnmI5FwlWg5AM=; b=LzgAKejt0Q3MGYn9TCUuWjuOF7RlwGqioPilZfnHQqNBFKitoHO/01e/vBoMXloIXn tahyzu3ld+8poXA0JfTIHGS1tl4LQZnfvRiT2JKK32mn9uBOVj0MoEaAYzehWh9oDhCC NhsMJlfNgrd5WrMEySKwLk8EHbeK/LYKjTGZ2q//sptafo9u5xpWc4s2ckhX3o1t+NBE MIit9MR6M09AkgLwafZrcupB6GaSEuWpV1G9vTZQNIWjies/bkISgn+9vomNiuJA6BhK nZv++STdsOvVbo3AsF0ybMm1ZaF/nfVz9hxloPj8bDSI/Akg4FKC3I4qnPwhD6bcNMI7 tRow==
- Dkim-signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1729887800; s=strato-dkim-0003; d=seimet.de; h=In-Reply-To:References:Message-ID:Subject:To:From:Date:Cc:Date:From: Subject:Sender; bh=9RcIboQ4FDSqY3EH8gYNwlHpXRWwYKAnmI5FwlWg5AM=; b=gX1z4Kdr5MZqyPESOJkV3D+Wif79KHC4vUQxfY/2eRhOiPT8Q4AaMg2zU5K9gpsJe8 SjdQDws4NTJuYjHH1/DQ==
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
>
>