Package: minicom
Version: 2.3-1
Severity: normal

When path to script specified by -S parameter is longer than 33 characters,
the script can't be read and therefore executed.

Reproducible: always
Steps to reproduce:
1. Run minicom with path to any existing file with long path, e.g.
$ minicom -o ttyS0 -S /mnt/hda7/tmp/l01z/upgrade.minicom

Expected result:
- minicom should read the file
Observed result:
- minicom complains about not existing file:
"runscript: couldn't open "/mnt/hda7/tmp/l01z/upgrade.minico""

The reason is here:
    case 'S': /* start Script */
          strncpy(scr_name, optarg, 33);

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/bash

Versions of packages minicom depends on:
ii  libc6                     2.7-13         GNU C Library: Shared libraries
ii  libncurses5               5.6+20081012-2 shared libraries for terminal hand

Versions of packages minicom recommends:
pn  lrzsz                         <none>     (no description available)

minicom suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to