For what it's worth, a fix (initializing table_p with 0s) is part of https://gitlab.com/wireshark/wireshark/-/merge_requests/21669
Regards, Timo Am So., 5. Okt. 2025 um 21:48 Uhr schrieb Jaap Keuter via Wireshark-dev < [email protected]>: > Hi, > > Well, you might as well remove that function (asterix_parse_re_field) > from compilation, since it doesn’t seem to be used… > > Thanks, > Jaap > > > On 5 Oct 2025, at 21:34, Yaniv Kaul <[email protected]> wrote: > > > > On Sun, Oct 5, 2025 at 8:41 PM Jaap Keuter via Wireshark-dev < > [email protected]> wrote: > >> Hi, >> >> What happens if you pull again? >> > > Pulled as hard as I could. No go. > Y. > > >> >> Thanks, >> Jaap >> >> >> > On 5 Oct 2025, at 15:43, Yaniv Kaul via Wireshark-dev < >> [email protected]> wrote: >> > >> > Failure: >> > /home/ykaul/github/wireshark/epan/dissectors/packet-asterix.c: In >> function ‘asterix_parse_re_field.constprop’: >> > /home/ykaul/github/wireshark/epan/dissectors/packet-asterix.c:290:44: >> error: ‘table_p.table_pointer’ may be used uninitialized >> [-Werror=maybe-uninitialized] >> > 290 | offset += table_p.table_pointer[i](tvb, offset, >> tree, expand_value); >> > | ~~~~~~~~~~~~~~~~~~~~~^~~ >> > /home/ykaul/github/wireshark/epan/dissectors/packet-asterix.c:278:18: >> note: ‘table_p.table_pointer’ was declared here >> > 278 | table_params table_p; >> > | ^~~~~~~ >> > /home/ykaul/github/wireshark/epan/dissectors/packet-asterix.c:284:18: >> error: ‘table_p.table_pointer_expand’ may be used uninitialized >> [-Werror=maybe-uninitialized] >> > 284 | int *expand = table_p.table_pointer_expand[i]; >> > | ^~~~~~ >> > /home/ykaul/github/wireshark/epan/dissectors/packet-asterix.c:278:18: >> note: ‘table_p.table_pointer_expand’ was declared here >> > 278 | table_params table_p; >> > | ^~~~~~~ >> > /home/ykaul/github/wireshark/epan/dissectors/packet-asterix.c:278:18: >> error: ‘table_p.table_size’ may be used uninitialized >> [-Werror=maybe-uninitialized] >> > _______________________________________________ >> > Wireshark-dev mailing list -- [email protected] >> > To unsubscribe send an email to [email protected] >> >> _______________________________________________ >> Wireshark-dev mailing list -- [email protected] >> To unsubscribe send an email to [email protected] > > > _______________________________________________ > Wireshark-dev mailing list -- [email protected] > To unsubscribe send an email to [email protected] >
_______________________________________________ Wireshark-dev mailing list -- [email protected] To unsubscribe send an email to [email protected]
