Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27613 - ncftp's shell escape gives chaos
Summary: ncftp's shell escape gives chaos
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-30 11:47 UTC by Klaus-J. Wolf
Modified: 2003-10-07 16:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus-J. Wolf 2003-08-30 11:47:18 UTC
If you use ncftp-3.1.5's shell escape, somehow the command gets lost and a
random character strings gets passed to system() or alike.

Reproducible: Always
Steps to Reproduce:
1. start ncftp
2. type "!ls"
3. 

Actual Results:  
Unreadable characters, and then, usually, ": no such command".

Expected Results:  
Execution output of the command (in our case: the content of the current directory).

This bug was present in RedHat 7.2 (AFAIR). The bug was fixed by RedHat with a
patch, while there was no upstream fix available.
Comment 1 Theofilos Intzoglou 2003-09-06 16:14:56 UTC
I cannot reproduce the bug you are talking about :-/ I started ncftp and typed "!ls" and it gives me the correct output!

ncftp's version:

$ qpkg -I -v ncftp
net-ftp/ncftp-3.1.5-r1 *
Comment 2 Theofilos Intzoglou 2003-09-06 17:33:01 UTC
Can you please post the output of the "emerge --info" command?
Comment 3 Klaus-J. Wolf 2003-09-07 09:13:58 UTC
Sorry, I'm not able to make emerge --info since the machine's gone (will return by November, so I hope). If not reprodrucible, close bug please.
Comment 4 Theofilos Intzoglou 2003-09-07 11:37:24 UTC
I wasn't able to reproduce it but there were a couple of people in #gentoo-bugs that could and I'm trying to find the cause for that bug. It seems to have to do with the CFLAGS and the -Os option.
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2003-10-07 16:43:21 UTC
we need more info from people who can reproduce this reliably