Last modified: 2011-10-06 12:15:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T33421, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31421 - AbuseFilter should handle invalid regexps (not cause a fatal error)
AbuseFilter should handle invalid regexps (not cause a fatal error)
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
AbuseFilter (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-06 09:21 UTC by Jérémie Roquet
Modified: 2011-10-06 12:15 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jérémie Roquet 2011-10-06 09:21:09 UTC
See bug 31379.

Regexps built at runtime are not checked for correctness, so a badly designed filter may cause the preg_match to fail.

This should be handled properly, to avoid a fatal error (again, see bug 31379).

Thanks and best regards,

-- 
Arkanosis@frwiki
Comment 1 Tim Starling 2011-10-06 11:45:05 UTC
This was fixed in r99059/r99060, deployed about 12 hours ago.
Comment 2 Jérémie Roquet 2011-10-06 12:15:14 UTC
Great, that must be why I didn't manage to reproduce the bug a few hours ago.

Thanks you!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links