Re: [Gluster-devel] String manipulation

2017-11-02 Thread Atin Mukherjee
Missed to click "reply all" earlier :) On Thu, Nov 2, 2017 at 9:34 PM, Xavi Hernandez wrote: > Hi Atin, > > On 2 November 2017 at 16:31, Atin Mukherjee > wrote: > >> >> >> On Thu, Nov 2, 2017 at 3:35 PM, Xavi Hernandez >> wrote: >> >>> Hi all, >>> >>> Several times I've seen issues with the wa

[Gluster-devel] String manipulation

2017-11-02 Thread Xavi Hernandez
Hi all, Several times I've seen issues with the way strings are handled in many parts of the code. Sometimes it's because of an incorrect use of some functions, like strncat(). Others it's because of a lack of error conditions check. Others it's a failure in allocating the right amount of memory,