Bug 1301875 - ncat dumps core when sent Ctrl+\
Summary: ncat dumps core when sent Ctrl+\
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: nmap
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Hlavinka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-26 09:17 UTC by Ville Skyttä
Modified: 2016-01-28 09:33 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-28 09:33:57 UTC
Type: Bug


Attachments (Terms of Use)
gdb backtrace (6.61 KB, text/plain)
2016-01-26 09:17 UTC, Ville Skyttä
no flags Details

Description Ville Skyttä 2016-01-26 09:17:29 UTC
Created attachment 1118399 [details]
gdb backtrace

$ ncat localhost 80  # or some other port where something's listening
^\Quit (core dumped)

(The ^\Quit above is a result of pressing Ctrl+@)

gdb backtrace attached.

Comment 1 Ville Skyttä 2016-01-26 09:22:09 UTC
(Oops, it's Ctrl+\ I'm sending that triggers the coredump, not Ctrl+@)

Comment 2 Michal Hlavinka 2016-01-28 09:33:57 UTC
This is expected behaviour. 

http://www.gnu.org/software/libc/manual/html_node/Termination-Signals.html
"""    The SIGQUIT signal is similar to SIGINT, except that it’s controlled by a different key—the QUIT character, usually C-\—and produces a core dump when it terminates the process, just like a program error signal. You can think of this as a program error condition “detected” by the user. """


Note You need to log in before you can comment on or make changes to this bug.