diff options
author | Jim Meyering <meyering@redhat.com> | 2008-10-15 09:19:29 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-10-15 15:34:58 +0200 |
commit | 514b7fbc0069bbd53087561020b1562ccbcd11ee (patch) | |
tree | 2e828748c2f5a4de5e79f6e79335b0cfe54f3f4d /tests | |
parent | 555c219d9eff5b0b15be7c479a8efc81f59b0ffb (diff) | |
download | coreutils-514b7fbc0069bbd53087561020b1562ccbcd11ee.tar.xz |
expr: don't interpret argv[0] as an operand
* src/expr.c (main): Given a first argument like -22 (negative, with
two or more digits), expr would decrement optind to 0 and then attempt
to evaluate argv[0].
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions