Need to check write permission of output file
GreatYYX opened this issue · 0 comments
GreatYYX commented
Hi, great work!
LINE failed to write to an output file which was in a directory owned by others / root and raised a segment fault.
After https://github.com/tangjianpku/LINE/blob/master/linux/line.cpp#L359
, it needs a fo == NULL
check to make sure current user has permission to write file.