rb core dumps on filename collision

Bug #1434668 reported by Mike
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lrzsz (Ubuntu)
New
Undecided
Unassigned

Bug Description

System info...

mfiore@mwf-ubuntu:~$ uname -a
Linux mwf-ubuntu 3.5.0-54-generic #81~precise1-Ubuntu SMP Tue Jul 15 04:02:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
mfiore@mwf-ubuntu:~$ rb --version
rb (GNU lrzsz) 0.12.21rc
mfiore@mwf-ubuntu:~$ minicom --version
minicom version 2.5 (compiled May 2 2011)

I'm communicating with a bootloader in an embedded device via YMODEM. If I attempt to transfer a file from the embedded device to my PC and the file already exists on my PC (in the directory I'm running minicom from), rb will crash. The following is from my system log:

Mar 20 13:27:58 mwf-ubuntu rb[25484]: [mfiore] no.name/YMODEM: got error
Mar 20 13:27:58 mwf-ubuntu kernel: [657534.433924] rb[25484]: segfault at 0 ip 00007f2ad2f5b840 sp 00007fff59aa6be8 error 4 in libc-2.15.so[7f2ad2ed9000+1b4000]

According to rb usage, either the -E or -p option should be used to avoid this situation. Minicom is using neither, which isn't rb's fault, but this situation should still be handled more gracefully than a core dump.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.