Changeset 64532a97 in mainline for uspace/lib/usbhost/src/bus.c


Ignore:
Timestamp:
2018-04-10T19:43:21Z (6 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9fa14d8d
Parents:
ad0d1f5
Message:

Fix insufficient buffer size.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/src/bus.c

    rad0d1f5 r64532a97  
    9090        assert(dev->fun);
    9191
    92         char buf[10] = { 0 }; /* usbxyz-ss */
     92        char buf[12] = { 0 }; /* usbxyz-ss */
    9393        snprintf(buf, sizeof(buf), "usb%u-%cs",
    9494            dev->address, usb_str_speed(dev->speed)[0]);
Note: See TracChangeset for help on using the changeset viewer.