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

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

[Octave-bug-tracker] [bug #57368] Printf() with +Inf precision causes se


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #57368] Printf() with +Inf precision causes segfault
Date: Fri, 6 Dec 2019 16:05:06 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Update of bug #57368 (project octave):

                  Status:               Confirmed => Ready For Test         

    _______________________________________________________

Follow-up Comment #5:

The dynamic field width parameters are supposed to be int values.  I pushed
the following changeset to ensure that they are in the range [0, INT_MAX]
before converting to int.  I think INT_MAX should work, but the effective
limit appears to be somewhat less.  In any case, this change should prevent
crashes for Inf values.

http://hg.savannah.gnu.org/hgweb/octave/rev/61cc648ab034


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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