[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Brad Smith <brad_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Sat, 13 Mar 2004 17:34:34 -0700 (MST)
CVSROOT: /cvs
Module name: src
Changes by: brad_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2004/03/13 17:34:34
Modified files:
usr.sbin/httpd/src/modules/standard: Tag: OPENBSD_3_3
mod_access.c
Log message:
MFC:
Fix by henning@
Allow and Deny rules with IP addresses outside the class A range
(e.g. 192.168.1.1) where parsed incorrectly on sparc64.
It only affected IP addresses with no netmask definition.
The cause of this was:
a) use of the wrong type -- unsigned long instead of a 32bit value
b) implicit casts from int to unsigned long with sign extension
While doing that fix also some other obvious bugs.
from claudio jeker
ok deraadt@
Visit your host, monkey.org