On 06/26/18 12:10, Breno Leitao wrote:
if (ppartition_name) strncpy(partition_name, ppartition_name, - sizeof(partition_name)); + sizeof(partition_name) - 1);
Please use strlcpy() instead of trying to emulate it. Thanks, Bart.
On 06/26/18 12:10, Breno Leitao wrote:
if (ppartition_name) strncpy(partition_name, ppartition_name, - sizeof(partition_name)); + sizeof(partition_name) - 1);
Please use strlcpy() instead of trying to emulate it. Thanks, Bart.