K 10 svn:author V 4 bapt K 8 svn:date V 27 2015-05-10T10:15:36.870499Z K 7 svn:log V 179 The initial logic for allocating the new string was wrong, the conversion to strndup(3) duplicated the same mistake, actually strdup(3) is good enough to allocate the new string. END