bugGNU Octave - Bugs: bug #63706, @ftp class easily leads to...

 
 

bug #63706: @ftp class easily leads to segfault in interpreter

Submitter:  Rik <rik5>
Submitted:  Wed 25 Jan 2023 07:42:31 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * stable Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 26 Jan 2023 01:16:09 AM UTC, comment #2: 

Marking as a duplicate of bug #42429 and closing this report.

Rik <rik5>
Group administrator
Wed 25 Jan 2023 10:39:41 PM UTC, comment #1: 

This bug is similar to bug #42429 where the next command after trying to `cd` a non exiting directory is `dir` rather than `cd`. Fixing one should help the other.

Pantxo Diribarne <pantxo>
Group Member
Wed 25 Jan 2023 07:42:31 PM UTC, original submission:  

Recently found a simple way to cause a segfault in Octave:


f = ftp ('ftp.gnu.org');
cd (f, "nodir");   # directory does not exist
cd (f, "/")


After the first cd command the directory reported by the ftp object is "".  That can't be good.

This occurs either on stable or on dev with the newly recoded url-transfer.cc file.

Rik <rik5>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-01-26 rik5 StatusConfirmed Duplicate
        Open/ClosedOpen Closed
    2023-01-26 rik5 Dependencies- Depends on bugs #42429

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code