SuccessChanges

Summary

  1. utils: Add clamp() macro (details)
  2. box_construct: clamp rowspan and colspan (details)
Commit 8193a5518ee6d23fa0774d3c5550ea4a4c55378e by dsilvers
utils: Add clamp() macro
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
The file was modifiedutils/utils.h (diff)
Commit 087f88ae8cc2b7f763dafa3522f9b0e57e914b3a by dsilvers
box_construct: clamp rowspan and colspan
In order to not blow up on massive rowspan/colspan values (which could
be an issue according to #2873) we clamp them according to the HTML spec
section 4.9.11
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
The file was modifiedcontent/handlers/html/box_construct.c (diff)