csv_fini parameter check done after deref
Brought to you by:
rgamble
github user ip-gpu filed a report that the invalid parameter check for the first parameter is done too late. he has proposed a solution but it is not c89.
V595 The 'p' pointer was utilized before it was verified against nullptr. Check lines: 162, 167. libcsv.c 162
Details at https://github.com/jay/CSV/pull/3
Hi Jay,
Libcsv is now maintained on GitHub (https://github.com/rgamble/libcsv) where this issue was corrected about a year ago.
Thanks I didn't realize. I've updated my bookmarks