RE: [PATCH] usbutils: Fix bug in link state description printing.

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

 



> -----Original Message-----
> From: Sarah Sharp [mailto:sarah.a.sharp@xxxxxxxxxxxxxxx]
> Sent: Friday, September 10, 2010 4:51 PM
> To: Greg KH
> Cc: linux-usb@xxxxxxxxxxxxxxx; John Youn; Alan Stern
> Subject: [PATCH] usbutils: Fix bug in link state description printing.
> 
> There are only 12 elements in the link_state_descriptions array, so
> indexing in using 0xBF (191) is not going to work.
> 
> Signed-off-by: Sarah Sharp <sarah.a.sharp@xxxxxxxxxxxxxxx>
> ---
> 
> John, does this fix your segfault?


Yes that fixes it

John

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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux