Forum Bugs

PrinceXML to use all available memory and crash the server on incorrect value on LI element

jagermesh
The following code causes PrinceXML to use all available memory and crash the server. I believe this happens due to a large integer value in the LI element, which was part of user-entered content.

We have added a clean-up mechanism to handle this case, but I think PrinceXML should also manage such situations more gracefully. :)

  <ol style="list-style-type: lower-roman;">
    <li style="margin-left: 8px;" value="664533344935">
      <span style="font-size: 12pt;">
        <span style="background: white;">
          <span style="font-family: Calibri,sans-serif;">
            <span style='font-family: "Times New Roman",serif;'>
              <span style="color: #2d2d2d;">Text</span>
            </span>
          </span>
        </span>
      </span>
    </li>
  </ol>
mikeday
Haha that's unexpected! We will make sure we handle this situation better. :)
mikeday
We have updated the latest builds to cap Roman numerals at 3999 which should fix the problem (and is consistent with CSS3).