User "Bawolff" posted a comment on MediaWiki.r91106.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/91106#c19283
Commit summary:

Add wfUnserialize() wrapper around unserialize to prevent E_NOTICE and use it 
in ExifBitmap.php. There are probably many more places that could use this. 
This should fix Platonides' problem at r90421, but also added a check for 
$wgShowExif to prevent the test from failing.

Comment:

Or actually we do a validity check before the unserialize that would catch 
that, so I guess there's no way for there to be an E_NOTICE at this point, so 
nevermind what i just said :)

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to