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

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

[Octave-bug-tracker] [bug #47976] str2num can perform arbitrary code


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #47976] str2num can perform arbitrary code
Date: Sun, 22 May 2016 17:50:37 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

Update of bug #47976 (project octave):

                  Status:               Confirmed => Wont Fix               
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #3:

According to the Matlab docs for str2num:

>> Note   str2num uses the eval function to convert the input
>> argument. Side effects can occur if the string contains calls
>> to functions. Using str2double can avoid some of these side
>> effects.

https://www.mathworks.com/help/matlab/ref/str2num.html

So str2num is behaving according to design I think.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47976>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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