rem: strncpy(buffer, path, SYS_MAX_PATH_LEN); buffer[SYS_MAX_PATH_LEN] = 0;
add: if (fd == -1) { strncpy(path, _path, SYS_MAX_PATH_LEN - 1); path[SYS_MAX_PATH_LEN - 1] = '\0'; }
context: sys_write_stat(const char *path, bool traverseLeafLink, struct stat *stat, int statMask){	char buffer[SYS_MAX_PATH_LEN + 1];	strncpy(buffer, path, SYS_MAX_PATH_LEN);	buffer[SYS_MAX_PATH_LEN] = 0;	return common_write_stat(buffer, traverseLeafLink, stat, statMask, true);}