diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-09-08 21:04:54 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-08 21:04:54 -0400 |
| commit | 4bb7d4482d7b22fea694d7b387c2090fdc32ce83 (patch) | |
| tree | 7e1a052104bf9d5e8756281c601e0450fad2f5ed /lib/csv.c | |
| parent | 714e135429aaca467bd2ed654edfe977b5cd1a9c (diff) | |
| parent | e10cfdaf51fd5662309eda11ff37dfac1d94abdf (diff) | |
Merge pull request #2994 from opensourcerouting/sa-warnings
fix remaining SA warnings
Diffstat (limited to 'lib/csv.c')
| -rw-r--r-- | lib/csv.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -563,6 +563,8 @@ void csv_decode(csv_t *csv, char *inbuf) csv_record_t *rec; buf = (inbuf) ? inbuf : csv->buf; + assert(buf); + pos = strpbrk(buf, "\n"); while (pos != NULL) { rec = calloc(1, sizeof(csv_record_t)); |
