RE: [PATCH 3/6] libusbg: Remove fixed-size buffers from usbg_config.

2014-03-18 Thread Krzysztof Opasiak
ty317@samsung.com; Marek Szyprowski; Robert Baldyga > Subject: RE: [PATCH 3/6] libusbg: Remove fixed-size buffers from > usbg_config. > > From: Krzysztof Opasiak > > Path and name length should not be placed in constant > > size buffer but in allocated memory. > > &

RE: [PATCH 3/6] libusbg: Remove fixed-size buffers from usbg_config.

2014-03-13 Thread David Laight
From: Krzysztof Opasiak > Path and name length should not be placed in constant > size buffer but in allocated memory. > > Use also PATH_MAX macro from limits.h instead of internal > library macro. There might be some sense in keeping USBG_MAX_PATH_LENGTH but defaulting to PATH_MAX. ... > -