mpage/misc — comment on commit 08eb0373fbf3de30a33273f2d8cae30470da907e
File: report_quota.c line 44
By mpage:

Point taken about strncat. I'm using strncpy in order to copy over the NULL terminator here (fsname_len is computed as strlen(_) + 1). I'd also argue that the real reason for avoiding strcpy is that it doesn't perform bounds checking on its destination (which strncpy at least enables through the length parameter), thus leading to all the buffer overflows of the 90s :).