URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d5d6a420a17b8d49115dac38fac0b640458ae25b
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-3.0
Repository: wireshark
Commits:
d5d6a42 by Guy Harris (guy@xxxxxxxxxxxx):
In pcapng_open(), don't use the local pcapng_t once we know it's a pcapng file.
Use the local one *only* while we're trying to determine whether we have
a pcapng file or not; once we know we have a pcapng file, and have
allocated a pcapng_t and attached it to the wtap structure, pass *that*
one to pcapng_read_block(), so if it changes anything in the pcapng_t,
it changes the one we're using.
Change-Id: I53b32595276be97957a0b6056171471878fa40c4
Reviewed-on: https://code.wireshark.org/review/33226
Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
(cherry picked from commit 7ae47e36bf929819b38100c9d348348309248233)
Reviewed-on: https://code.wireshark.org/review/33227
Actions performed:
from d9b5469 WSMP: fix dissection of WAVE Information Element Extension
add d5d6a42 In pcapng_open(), don't use the local pcapng_t once we know it's a pcapng file.
Summary of changes:
wiretap/pcapng.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)