Re: [Wireshark-dev] Is this a bug in the ipv6 dissector?

2015-01-03 Thread Pascal Quantin
2014-11-28 12:40 GMT+01:00 Pascal Quantin pascal.quan...@gmail.com: 2014-11-27 16:37 GMT+01:00 Evan Huus eapa...@gmail.com: On Thu, Nov 27, 2014 at 10:21 AM, Alexis La Goutte alexis.lagou...@gmail.com wrote: Hi, On Thu, Nov 27, 2014 at 4:13 AM, 蓝常珍 lanc...@gmail.com wrote: In the

Re: [Wireshark-dev] Is this a bug in the ipv6 dissector?

2014-11-28 Thread Pascal Quantin
2014-11-27 16:37 GMT+01:00 Evan Huus eapa...@gmail.com: On Thu, Nov 27, 2014 at 10:21 AM, Alexis La Goutte alexis.lagou...@gmail.com wrote: Hi, On Thu, Nov 27, 2014 at 4:13 AM, 蓝常珍 lanc...@gmail.com wrote: In the function dissect_ipv6 of the ipv6 dissector(packet-ipv6.c),the ip6_hdr

[Wireshark-dev] Is this a bug in the ipv6 dissector?

2014-11-27 Thread 蓝常珍
In the function dissect_ipv6 of the ipv6 dissector(packet-ipv6.c),the ip6_hdr struct is allocated on the stack,then it's address is passed to tap_queue_packet.I notice that the other dissectors do not look like this. The code snippet of the dissect_ipv6 function,from dev-version 1.99.0: static

Re: [Wireshark-dev] Is this a bug in the ipv6 dissector?

2014-11-27 Thread Alexis La Goutte
Hi, On Thu, Nov 27, 2014 at 4:13 AM, 蓝常珍 lanc...@gmail.com wrote: In the function dissect_ipv6 of the ipv6 dissector(packet-ipv6.c),the ip6_hdr struct is allocated on the stack,then it's address is passed to tap_queue_packet.I notice that the other dissectors do not look like this. The code

Re: [Wireshark-dev] Is this a bug in the ipv6 dissector?

2014-11-27 Thread Evan Huus
On Thu, Nov 27, 2014 at 10:21 AM, Alexis La Goutte alexis.lagou...@gmail.com wrote: Hi, On Thu, Nov 27, 2014 at 4:13 AM, 蓝常珍 lanc...@gmail.com wrote: In the function dissect_ipv6 of the ipv6 dissector(packet-ipv6.c),the ip6_hdr struct is allocated on the stack,then it's address is passed to