Ubuntu 8.04, escputil 5.0.2-2ubuntu1.  Option -C and -p require an
argument, and complain correctly when one is missing.  The long 
versions, --choices and --patterns, are incorrectly defined as having no
argument so getopt_long() doesn't indicate there's a problem and the
shared code for -C/--choices attempts to handle the missing argument.

src/escputil/escputil.c has

      { "short-name",               0,      NULL,   (int) 'S' },
      { "choices",                  0,      NULL,   (int) 'C' }, 
      { "patterns",                 0,      NULL,   (int) 'p' }, 
      { NULL,                       0,      NULL,   0         }
    };

The `0' for "choices" and "patterns" should be 1.


** Changed in: gutenprint (Ubuntu)
       Status: New => Confirmed

-- 
escputil crashed with SIGSEGV in ____strtoll_l_internal()
https://bugs.launchpad.net/bugs/263748
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to