octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #64213] crash while using subsasgn with struct


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #64213] crash while using subsasgn with struct and multiple subs value
Date: Fri, 28 Jul 2023 10:31:07 -0400 (EDT)

Update of bug #64213 (project octave):

                  Status:               Confirmed => Patch Submitted        
         Planned Release:                    None => 8.3.0 (current stable) 

    _______________________________________________________

Follow-up Comment #3:

The attached patch fixes the crash for me.

It replaces a few `panic_if` by throwing an exception (using our `error`
function). I don't know why that should be ok, given that these function
already call the `error` function elsewhere.

I only tested on the default branch. But it might also work for the stable
branch.

Tentatively marking as targeting Octave 8.3.0.



(file #54991)

    _______________________________________________________

Additional Item Attachment:

File name: bug64213-subsasgn-invalid-fieldnames.patch Size:4 KB
   
<https://file.savannah.gnu.org/file/bug64213-subsasgn-invalid-fieldnames.patch?file_id=54991>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64213>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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