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

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

[Octave-bug-tracker] [bug #65712] sort over InF dimension coredumps


From: Arun Giridhar
Subject: [Octave-bug-tracker] [bug #65712] sort over InF dimension coredumps
Date: Thu, 9 May 2024 18:26:18 -0400 (EDT)

Follow-up Comment #50, bug #65712 (group octave):

The input validation is more challenging to get right than the actual
sorting.

I pushed a fix to default here:
https://hg.savannah.gnu.org/hgweb/octave/rev/a8346c5f6997

Since there is no crash with stable when passed dim = -inf, I didn't make any
edit to stable.

There are many functions that are supposed to accept only positive integers
for size arguments, but also silently accept 1-i, 2 - pi*i, etc. I put in a
check for that.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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