poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug default/30417] New: segfault when setting struct field


From: alb.donizetti at gmail dot com
Subject: [Bug default/30417] New: segfault when setting struct field
Date: Wed, 03 May 2023 17:38:14 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=30417

            Bug ID: 30417
           Summary: segfault when setting struct field
           Product: poke
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: default
          Assignee: unassigned at sourceware dot org
          Reporter: alb.donizetti at gmail dot com
                CC: poke-devel at gnu dot org
  Target Milestone: ---

$ poke --version
GNU poke 3.1
Powered by Jitter 0.9.294

I encountered a segfault in poke 3.1, minimized reproducer:

  (poke) type pkt = struct { uint version; uint<2>; };
  (poke) .mem
  The current IOS is now `*0*'.
  (poke) var p = pkt @ 0#B;
  (poke) p.version = 3
  Segmentation fault

If the uint<2> anonymous field is given a name, the segfault no longer happens.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]