Skip to content

Commit

Permalink
[BUGFIX] Ensure bmReserved is a zero
Browse files Browse the repository at this point in the history
  • Loading branch information
xxxajk committed Sep 2, 2013
1 parent 42a1be3 commit ab74e77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions address.h
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ class AddressPoolImpl : public AddressPool {
}

UsbDeviceAddress addr;
addr.devAddress = 0; // Ensure all bits are zero

addr.bmParent = ((UsbDeviceAddress*) & parent)->bmAddress;

Expand Down

0 comments on commit ab74e77

Please sign in to comment.