From: Toni Wilen Date: Thu, 17 Sep 2015 16:14:51 +0000 (+0300) Subject: SCSI reply buffer was not cleared before INQUIRY was executed. X-Git-Tag: 3200~71 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=c10e73967f2fc81e7c08f4e41ce52b4f6a89de22;p=francis%2Fwinuae.git SCSI reply buffer was not cleared before INQUIRY was executed. --- diff --git a/scsi.cpp b/scsi.cpp index 6104adbd..5c7a71f5 100644 --- a/scsi.cpp +++ b/scsi.cpp @@ -303,6 +303,7 @@ static bool handle_ca(struct scsi_data *sd) // command was aborted due to UA sd->unit_attention = 0; } + memset(sd->reply, 0, sizeof(sd->reply)); return true; }