Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#3862 closed Bug (fixed)

Infinite loop with invalid HTML

Reported by: arczi Owned by: garry.yao
Priority: Normal Milestone: CKEditor 3.0
Component: Core : Output Data Version:
Keywords: Confirmed Review+ Cc:

Description

To reproduce please paste the following HTML in source mode and go back to WYSIWYG.

<span>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
<a><b>test</a></b>
</span>

Result: Infinite loop in all browsers. In FF3 sometimes causes "too much recursion"

Attachments (1)

3862.patch (1.9 KB) - added by garry.yao 7 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 7 years ago by garry.yao

  • Keywords Confirmed added
  • Owner set to garry.yao
  • Status changed from new to assigned

Changed 7 years ago by garry.yao

comment:2 Changed 7 years ago by garry.yao

  • Component changed from General to Core : Output Data
  • Keywords Review? added

Nice catch Artur, actually it's a long standing bug with our parser.

comment:3 Changed 7 years ago by arczi

  • Keywords Review+ added; Review? removed

comment:4 Changed 7 years ago by garry.yao

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed with [3797]. Click here for more info about our SVN system.

Note: See TracTickets for help on using tickets.
© 2003 – 2016 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy