parse: the input buffer should never be modified, let's mark it as such
usb: fix buffer reallocation to fit the size of the incoming data