- Timestamp:
- 01/15/19 11:14:45 (2 years ago)
- Branches:
- develop
- Children:
- f98e550
- Parents:
- 385678b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_pcapng.c
r15f32cb r063d5dd 1222 1222 * we have to skip forward to the next useful header. */ 1223 1223 bodyptr = (char *) packet->buffer + sizeof(pcapng_sec_t); 1224 1225 if (to_read > LIBTRACE_PACKET_BUFSIZE) { 1226 trace_set_err(libtrace, TRACE_ERR_BAD_PACKET, 1227 "Excessively large section header contents of %u bytes, likely a corrupt trace.", to_read); 1228 return -1; 1229 } 1230 1224 1231 err = pcapng_read_body(libtrace, bodyptr, to_read); 1225 1232 if (err <= 0) {
Note: See TracChangeset
for help on using the changeset viewer.