Mailing List Archive

[Bug 584] ${isip} not strict enough
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=584




--- Comment #1 from Tony Finch <dot@dotat.at> 2007-08-21 19:43:19 ---
Just a quick note that old versions of inet_aton would interpret components
with leading zeroes as octal.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 584] ${isip} not strict enough [ In reply to ]
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=584

Philip Hazel <ph10@hermes.cam.ac.uk> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED




--- Comment #2 from Philip Hazel <ph10@hermes.cam.ac.uk> 2007-08-22 15:28:44 ---
The manual says that isip tests for the *form* of an IP address. It doesn't say
that it tests for a valid value. For the sort of cases where it is envisaged it
will be used such as $if{isip4{$sender_host_address}..} it surely doesn't
matter that the actual component values are untested ...and I would hate to
have to try to figure out the valid values for an IPv6 address.

I will add further words to the manual to make this clearer.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##