[Wireshark-dev] Issue about tvb_reported_length_remaining() and tvb_captured_length_remaining() of tvb passed from Lua

2021-03-27 Thread qiangxiong.huang
Hi,  I reproduced this issue (https://gitlab.com/wireshark/wireshark/-/issues/17255) in windows. It report error like this: User Datagram Protocol, Src Port: 54046, Dst Port: 8129 Tutorial AddressBook Encapsulated With CRC Magic: ADDR Data Length: 157 CRC: 2831742514 -- Actually, t

[Wireshark-dev] Automated builds failing for macOS since MR 2136 was applied

2021-03-27 Thread Jim Young
We've had failing macOS builds since the commit set from https://gitlab.com/wireshark/wireshark/-/merge_requests/2136 was applied. First failing build: https://buildbot.wireshark.org/wireshark-master/builders/macOS%2010.14%20x64/builds/1753 The last successful automated build for macOS was with

Re: [Wireshark-dev] tvb_get_nstringz0

2021-03-27 Thread Dario Lombardo
Hi John, thanks, your explanation helped a lot. However I still don't get why the code crashes. Please let me use the actual buffer sizes since the ones I told before were examples. The packet is 49, the local buffer is 15. When you call tvb_get_nstringz0() you pass in bufsize = 15. > tvb_get_nstr

Re: [Wireshark-dev] Input plugin for PEAK Systems CAN interfaces

2021-03-27 Thread hdv
On 26-3-2021 13:32, Miklós Márton wrote: Hello all! I would like to create a Wireshark plugin for the PEAK CAN devices. Wireshark works fine with these devices on Linux over SocketCAN, however on Windows I did not found any way to utilize them. Is there any open source CAN input plugins out in

Re: [Wireshark-dev] Automated builds failing for macOS since MR 2136 was applied

2021-03-27 Thread Guy Harris
On Mar 27, 2021, at 5:49 AM, Jim Young wrote: > We've had failing macOS builds since the commit set from > https://gitlab.com/wireshark/wireshark/-/merge_requests/2136 was > applied. Fixed. ___ Sent via:Wireshark-dev mai

Re: [Wireshark-dev] tvb_get_nstringz0

2021-03-27 Thread John Thacker
On Sat, Mar 27, 2021 at 2:57 PM Dario Lombardo wrote: > Hi John, > thanks, your explanation helped a lot. However I still don't get why the > code crashes. Please let me use the actual buffer sizes since the ones I > told before were examples. The packet is 49, the local buffer is 15. > > When yo

Re: [Wireshark-dev] Issue about tvb_reported_length_remaining() and tvb_captured_length_remaining() of tvb passed from Lua

2021-03-27 Thread Guy Harris
On Mar 27, 2021, at 3:47 AM, qiangxiong.huang wrote: > Where is the bug? If it a bug belongs to packet-protobuf.c, I can submit a > merge for it. But If it belongs to wslua_tvb.c, who familiar with the code > wslua_tvb.c may help fix. It's a bug in wslua_tvb.c, and it's now fixed (I've backpor