Closed jow- closed 1 year ago
Use getline() instead of a custom fgets() wrapper logic to perform line wise reads from open file handles. This is required to properly deal with lines containing embedded null bytes.
getline()
fgets()
Signed-off-by: Jo-Philipp Wich jo@mein.io
Use
getline()
instead of a customfgets()
wrapper logic to perform line wise reads from open file handles. This is required to properly deal with lines containing embedded null bytes.Signed-off-by: Jo-Philipp Wich jo@mein.io