You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2019/08/10 15:28:48 UTC

[GitHub] [netbeans] matthiasblaesing opened a new pull request #1417: [NETBEANS-1872] Prevent backtracking loops in CSS Parser

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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