[Bug 63197] [patch] tftp(1) Bus error, core dumped

2018-02-09 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=63197

Conrad Meyer  changed:

   What|Removed |Added

   Assignee|freebsd-bugs@FreeBSD.org|c...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 63197] [patch] tftp(1) Bus error, core dumped

2018-02-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=63197

--- Comment #6 from fernando.apesteg...@gmail.com ---
I updated the patch so it applies to -head and 11.1.0. I tested it and seems to
work fine.

How-to-Repeat:

$ ./tftp
tftp> Ctrl-C
tftp> Ctrl-C
tftp> Ctrl-Z   <--- No crash
[1]+  Detenido./tftp
fernape@beastie:$ fg
./tftp
tftp> help
Commands may be abbreviated.  Commands are:

connect connect to remote tftp
modeset file transfer mode
put send file
get receive file
quitexit tftp
verbose toggle verbose mode
status  show current status
binary  set mode to octet
ascii   set mode to netascii
rexmt   set per-packet retransmission timeout[-]
timeout set total retransmission timeout
trace   enable 'debug packet'[-]
debug   enable verbose output
blocksize   set blocksize[*]
blocksize2  set blocksize as a power of 2[**]
rolloverrollover after 64K packets[**]
options enable or disable RFC2347 style options
helpprint help information
packetdrop  artificial packetloss feature
?   print help information

[-] : You shouldn't use these ones anymore.
[*] : RFC2347 options support required.
[**] : Non-standard RFC2347 option.
tftp> mode
Using netascii mode to transfer files.
tftp> Ctrl-C
tftp> Ctrl-C
tftp> mode  <--- Up arrow shows the history

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 63197] [patch] tftp(1) Bus error, core dumped

2018-02-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=63197

fernando.apesteg...@gmail.com changed:

   What|Removed |Added

 CC||fernando.apesteguia@gmail.c
   ||om

--- Comment #5 from fernando.apesteg...@gmail.com ---
Created attachment 190274
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=190274=edit
patch to usr.bin/tftp/main.c

Updated patch. This applies to -head @328635 and to 11.1.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"