libusbgx: Remove fixed-size buffers from usbg_function.
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Wed, 12 Mar 2014 14:26:57 +0000 (15:26 +0100)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Tue, 22 Dec 2015 19:35:22 +0000 (20:35 +0100)
commitb2e044950ac94cbe9fa2d5056be085b1ff859594
tree3188edf4620e3f0490eb6ffd1a2b3099944d1d3f
parentdaab2bb78e9acaab54fce1182efa3ead8ea5587e
libusbgx: Remove fixed-size buffers from usbg_function.

Path and name length should not be placed in constant
size buffer but in allocated memory.

Handle overflows of snprintf in related funcitons.

Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
[Port from libusbg and update description]
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
src/usbg.c