Commit 19b967c
committed
iolog_read_timing_record: require a newline at the end of each record
If a timing file line is larger than LINE_MAX it will be read as
multiple lines. Check for this and error out before trying to parse
the line.1 parent 30dc0f8 commit 19b967c
1 file changed
Lines changed: 15 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| 255 | + | |
255 | 256 | | |
256 | 257 | | |
257 | 258 | | |
| |||
263 | 264 | | |
264 | 265 | | |
265 | 266 | | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
266 | 277 | | |
267 | | - | |
268 | 278 | | |
269 | | - | |
270 | | - | |
| 279 | + | |
271 | 280 | | |
272 | 281 | | |
273 | 282 | | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
274 | 286 | | |
0 commit comments