Re: [PATCH] SCSI: sanitize INQUIRY strings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 21 Aug 2006, Matthew Wilcox wrote:

> On Mon, Aug 21, 2006 at 12:03:21PM -0400, Alan Stern wrote:
> > This patch (as766) sanitizes the Vendor, Product, and Revision strings
> > contained in an INQUIRY result, by setting all non-graphic or
> > non-ASCII characters to ' '.  Since the standard disallows such
> > characters, this will affect only non-compliant devices.
> 
> I thiink you attached the wrong patch; it doesn't match the description
> at all.

No; it does match the description.  But you have to read it carefully, 
because the majority of the patch implements optimizations made possible 
by the small piece that does the actual sanitizing.

>  Besides, print_inquiry is gone in scsi-misc.

The patch was based on 2.6.18-rc4.  Is there a patch file I can download 
with the differences between that kernel and the current SCSI development 
tree?

Alan Stern

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux