bug-inetutils
[Top][All Lists]
Advanced

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

Re: NULL Pointer Dereference in unsetcmd() at inetutils/telnet/commands.


From: Simon Josefsson
Subject: Re: NULL Pointer Dereference in unsetcmd() at inetutils/telnet/commands.c:1227
Date: Fri, 08 Jul 2022 21:03:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Erik Auerswald <auerswal@unix-ag.uni-kl.de> writes:

> It seems to me as if this Netkit project no longer exists.  Since I do
> not know the upstream project, I have not report any bugs, and have not
> send any patches.

Yeah, the NetKit telnet project is in a sad state.

> I do not have a BSD system to test, but anyone who does can easily try
> out the above.

I think we should reach out to some BSD contacts...

NetBSD 9.2 (GENERIC) #0: Wed May 12 13:15:55 UTC 2021

gcc300$ telnet
telnet> set ' ' crash
[1]   Segmentation fault (core dumped) telnet
gcc300$ telnet
telnet>  unset ' '
[1]   Segmentation fault (core dumped) telnet
gcc300$ telnet
telnet> help z ! ? z ! ? z ! ? z ! ? z ! ? z ! ? z !
suspend telnet
invoke a subshell
print help information
suspend telnet
invoke a subshell
print help information
suspend telnet
invoke a subshell
print help information
suspend telnet
invoke a subshell
print help information
suspend telnet
invoke a subshell
print help information
suspend telnet
invoke a subshell
print help information
telnet> help help
[1]   Segmentation fault (core dumped) telnet
gcc300$ 

OpenBSD 7.1 (GENERIC.MP) #3: Sun May 15 10:27:01 MDT 2022

gcc220$ telnet
telnet> set ' ' crash
Segmentation fault (core dumped) 
gcc220$ telnet
telnet> unset ' '
Segmentation fault (core dumped) 
gcc220$ telnet
telnet> help z ! ? z ! ? z ! ? z ! ? z ! ? z ! ? z !
too many arguments
telnet> gcc220$ telnet
telnet> help help
(null)
telnet> 

FreeBSD 13.0-RELEASE-p3 (GENERIC) #0: Tue Jun 29 19:46:20 UTC 2021

$ telnet
telnet> set ' ' crash
Segmentation fault (core dumped)
$ telnet
telnet> unset ' '
Segmentation fault (core dumped)
$ telnet
telnet> help z ! ? z ! ? z ! ? z ! ? z ! ? z ! ? z !
suspend telnet
invoke a subshell
print help information
suspend telnet
invoke a subshell
print help information
suspend telnet
invoke a subshell
print help information
suspend telnet
invoke a subshell
print help information
suspend telnet
invoke a subshell
print help information
suspend telnet
invoke a subshell
print help information
suspend telnet
invoke a subshell
telnet> $ telnet
telnet> help help
Segmentation fault (core dumped)
$ 

/Simon

Attachment: signature.asc
Description: PGP signature


reply via email to

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