Wireshark-dev: [Wireshark-dev] Re: Failure to compile master (22d50276f84a5976039de9ebf93cf1794

From: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
Date: Sun, 5 Oct 2025 20:40:45 +0200
There is some change recently on asterix dissector -> https://gitlab.com/wireshark/wireshark/-/merge_requests/21465

And the Ubuntu PPA builder have the same issue https://launchpadlibrarian.net/822620739/buildlog_ubuntu-plucky-arm64.wireshark_4.7.0-0~202510041843~ubuntu25.04.1_BUILDING.txt.gz

Cheers

On Sun, Oct 5, 2025 at 4:06 PM Yaniv Kaul via Wireshark-dev <wireshark-dev@xxxxxxxxxxxxx> wrote:
(which makes no sense to me...)


On Sun, Oct 5, 2025 at 5:03 PM Yaniv Kaul <yaniv.kaul@xxxxxxxxxxxx> wrote:
git bisect points at this:
47a4f6c8c4ab6e5584e742702e87054d8098dcb6 is the first bad commit
commit 47a4f6c8c4ab6e5584e742702e87054d8098dcb6 (HEAD)
Author: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
Date:   Sat Oct 4 00:11:14 2025 +0200

    wslua: Allow nil as column append separator

 epan/wslua/wslua_column.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

On Sun, Oct 5, 2025 at 4:43 PM Yaniv Kaul <yaniv.kaul@xxxxxxxxxxxx> 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 -- wireshark-dev@xxxxxxxxxxxxx
To unsubscribe send an email to wireshark-dev-leave@xxxxxxxxxxxxx