[Bug 38117] Security: Bad IP range recognition

2012-07-02 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=38117 --- Comment #1 from Olaf Lenz 2012-07-02 13:29:59 UTC --- The proposed fix to this bug is to explicitly cast the transformed IP address to a number by using hexdec() like: $ip = wfGetIP(); $hex = hexdec(IP::toHex( $ip )); if ( $hex >= hexdec(I

[Bug 38117] Security: Bad IP range recognition

2012-07-02 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=38117 Olaf Lenz changed: What|Removed |Added URL||http://www.mediawiki.org/wi