libdiskmgt uses wrong vendor ID property for USB
There is a typo in libdiskmgt findisk.c that causes it to use the wrong property for the vendor ID in some cases. The code is supposed to check VENDOR_ID_PROP first, and if that fails check VENDOR_ID_USB_PROP similar to the code for the product ID a few lines above. Instead it checks VENDOR_ID_PROP again.
Updated by Electric Monk about 4 years ago
- % Done changed from 0 to 100
- Status changed from New to Closed
commit e4adc82d6b02a6aa5d1b1d9772653c82c16e28ad Author: Hans Rosenfeld <email@example.com> Date: 2015-11-06T16:29:59.000Z 6438 libdiskmgt uses wrong vendor ID property for USB Reviewed by: Yuri Pankov <firstname.lastname@example.org> Reviewed by: Toomas Soome <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>