NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 944 - Patterns with backreferences cause internal errors
Patterns with backreferences cause internal errors
Status: RESOLVED FIXED
Product: Validator.nu
Classification: Unclassified
Component: General
HEAD
All All
: P2 normal
Assigned To: Michael[tm] Smith
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-30 22:16 CEST by Konrad Borowski
Modified: 2012-10-01 15:17 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konrad Borowski 2012-09-30 22:16:46 CEST
<input pattern="\1">
Comment 1 Michael[tm] Smith 2012-10-01 06:16:06 CEST
Thanks much for reporting this. I'm troubleshooting it now. Looks like it's causing an NPE in the third-party regexp-pasring code we send the pattern too. Will try to get it unwound and fixed today.
Comment 2 Michael[tm] Smith 2012-10-01 09:43:01 CEST
The root cause of this is in the Mozilla Rhino code. For that I filed a Mozilla bug:

  https://bugzilla.mozilla.org/show_bug.cgi?id=795813

I guess I will work around that for now but just having the validator code pass a non-null value to that code (where it's passing a null value now).