OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: 08, 09, 010 etc mis-parsed as decimal in zsh 3.1.6.pws21-1
From: Clint Adams (schizodebian.org)
Date: Mon May 15 2000 - 14:19:46 CDT


> See http://www.pasc.org/interps/unofficial/db/p1003.2/pasc-1003.2-173.html
>
> 08/09 should be invalid strings, 010 should be 8 (base 10). zsh parses
> them as decimal.
>
> bash gets this right.
>
> (noticed after discussion on security-audit)

zsh does not claim POSIX compliance. However, a new option, OCTAL_ZEROES,
will be added in the next .deb that will cause 08 and 09 to be invalid
and 010 to be parsed as decimal 8. This will be turned on by default
only in 'sh' emulation.

I trust that that will be sufficient to close this bug.