Skip to content

UB causing segfaults in nft::is_in_lang() #609

@Adda0

Description

@Adda0

There is a UB in nft::is_in_lang() that causes segfaults, but appears very rarely. The bug can be seen in the following test: #601 (comment).

Might be related to another UB appearing in mata::nft::union_nondet():

### mata::nft::union_nondet() minimal
failing minimal scenario
mata/tests/nft/nft.cc:2730
...............................................................................
mata/tests/nft/nft.cc:2730: FAILED:
{Unknown expression after the reported line}
due to a fatal error condition:
SIGSEGV - Segmentation violation signal

Both UBs need to be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    For:libraryThe issue is related to library (c++ implementation)Module:nftThe issue is related to Nondeterministic Finite TransducersPriority:highFocus on this before the others.Type:requiredA required implementation/change necessary in near future

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions