blob: c0db0bbd877b22b81a794a3e6ce882fb3dc7235b (
plain)
1
2
3
4
5
6
7
|
# A positional number too large for any parameter list is unset, not an
# out-of-bounds read (it used to be an atoi() overflow).
echo ${4294967295}x
echo ${99999999999999999999}x
( set -u; echo ${4294967295}x ) 2>&1 | sed 's/^.*parameter/parameter/'
( set -u; echo ${4294967295}x ) 2>/dev/null
echo "exit: $?"
|