Converting a hex string to a number
Simon Foster
simon at uggs.demon.co.uk
Tue Jul 9 18:57:26 EDT 2002
On Tue, 9 Jul 2002 22:01:24 +0000 (UTC), huaiyu at gauss.almadan.ibm.com
(Huaiyu Zhu) wrote:
>Simon Foster <simon at uggs.demon.co.uk> wrote:
>>On Tue, 9 Jul 2002 15:23:49 +0200, "Bo M. Maryniuck"
>><b.maryniuk at forbis.lt> wrote:
>>
>>>On Tuesday 09 July 2002 14:43, Simon.Foster at smiths-aerospace.com wrote:
>>>> eval!
>>>
>>>Overkill. Unsafe. Ugly. Lame.
>>>
>>
>>What do you mean by unsafe?
>
>Something like the following could happen (don't try it!)
>
># eval('system("rm -rf /")')
>
>Huaiyu
Emile
Bo
Matt
Huaiyu
You seem to be mistaking me for an idiot.
--
Simon Foster
Cheltenham
England
More information about the Python-list
mailing list