Browse code

avp: check for null string

Daniel-Constantin Mierla authored on 14/04/2021 10:50:36
Showing 1 changed files
... ...
@@ -1359,7 +1359,7 @@ cont:
1359 1359
 				}
1360 1360
 			};
1361 1361
 		}
1362
-		if (s.len && s.s[0] == header->field_delimiter) {
1362
+		if (s.len && s.s && s.s[0] == header->field_delimiter) {
1363 1363
 			s.s++;
1364 1364
 			s.len--;
1365 1365
 		}