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

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

[Octave-bug-tracker] [bug #48183] Insufficient uigetfile/uiputfile input


From: Rik
Subject: [Octave-bug-tracker] [bug #48183] Insufficient uigetfile/uiputfile input validation
Date: Wed, 8 Jun 2016 18:52:28 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

URL:
  <http://savannah.gnu.org/bugs/?48183>

                 Summary: Insufficient uigetfile/uiputfile input validation
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Wed 08 Jun 2016 11:52:26 AM PDT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

The first input to uigetfile/uiputfile is a filter specification which can be
a Nx2 cell array.  If the cell array is some other shape then bizarre
non-specific errors occur.

Sample Code:


[a,b,c] = uiputfile ({'*.m', 'Matlab files', '*.*', 'All files'})
error: 'name' undefined near line 35 column 50
error: called from
    __file_filter__ at line 35 column 7
    uiputfile at line 75 column 33
octave:1> 
octave:1> 
octave:1> [a,b,c] = uigetfile ({'*.m', 'Matlab files', '*.*', 'All files'})
error: '__file_filter__' undefined near line 111 column 35
error: called from
    uigetfile at line 111 column 33







    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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