matthiasblaesing opened a new pull request #1417: [NETBEANS-1872] Prevent 
backtracking loops in CSS Parser
URL: https://github.com/apache/netbeans/pull/1417
 
 
   The references issue found cases, where the CSS grammar lead to
   an inifite backtracking loop. This patch works around that limitation
   by requireing that the parsing progresses.
   
   The implementation counts the read calls issued without progressing
   through the stream. If the read count withouth progress exceeds
   10.000.000 reads, parsing is stopped.
   
   The number was found experimentally - it needs to be large enough to
   handle real world cases and low enough that progress happens early
   enough.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to