Project

General

Profile

Bug #6438

libdiskmgt uses wrong vendor ID property for USB

Added by Hans Rosenfeld about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Category:
driver - device drivers
Start date:
2015-11-05
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage

Description

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.

History

#1

Updated by Electric Monk about 4 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

git commit e4adc82d6b02a6aa5d1b1d9772653c82c16e28ad

commit  e4adc82d6b02a6aa5d1b1d9772653c82c16e28ad
Author: Hans Rosenfeld <hans.rosenfeld@nexenta.com>
Date:   2015-11-06T16:29:59.000Z

    6438 libdiskmgt uses wrong vendor ID property for USB
    Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Dan McDonald <danmcd@omniti.com>

Also available in: Atom PDF