[TIDY BUG REPORT] Crash condition

Hello Dave,

Here is a crash case for Tidy :

General conditions :
Version : DOS 30 apr 2000
Running on : Win98 fr RAM 64MB CPU i586 133Mhz

Required crash conditions :
Options : clean: yes
Testfile joyned : test.html
Minimal lines to crash :
<--- THESE LINES PROCCESSED BY TIDY GOES CRASH --->
<select name="whatever">
<option value="0" <?php echo(($variable==0)?'selected':'');?>>
<--- SNAP --->

The above PHP insertion add the word "selected" depending on $variable
beying equals to 0

<--- PAGE FAULT DUMP --->
IDY a causé une défaillance de page dans
 le module TIDY.EXE à 015f:0040ff19.
Registres :
EAX=007876b0 CS=015f EIP=0040ff19 EFLGS=00010202
EBX=007876b0 SS=0167 ESP=0065fcbc EBP=0065fdf8
ECX=00000000 DS=0167 ESI=007875e0 FS=3167
EDX=0041c7c4 ES=0167 EDI=0041c7c4 GS=0000
Octets à CS : EIP :
0f be 01 0f be 32 3b c6 75 12 85 c0 74 24 0f be
État de la pile :
007875e0 0040109b 00000000 0041c7c4 00787a60 007876b0 00402072 007876b0
0041c7c4 00000000 0065fdf8 007876b0 0040323e 00787a60 007876b0 00787a60
<--- SNAP --->

Regards

Léa Gris - bug buster at spare time

Received on Sunday, 4 June 2000 05:46:05 UTC