Re: [hwloc-devel] Possible buffer overflow in topology-linux.c

2015-07-17 Thread Odzioba, Lukasz
On Friday, July 17, 2015 2:30 PM Brice Goglin wrote: >Thanks, I'll fix this. I'll try strlcpy() in case it's widely available >enough. Otherwise I'll just add the ending \0 manually. Sounds good, thank you for fast response. Lukas -

Re: [hwloc-devel] Possible buffer overflow in topology-linux.c

2015-07-17 Thread Brice Goglin
Thanks, I'll fix this. I'll try strlcpy() in case it's widely available enough. Otherwise I'll just add the ending \0 manually. Brice Le 17/07/2015 12:56, Odzioba, Lukasz a écrit : > Hi, > Static analysis detected inappropriate use of strcpy function[1] in > topology-linux.c. > There are more