diff options
| author | Martin Wilke <miwi@FreeBSD.org> | 2010-05-09 11:22:35 +0000 |
|---|---|---|
| committer | Martin Wilke <miwi@FreeBSD.org> | 2010-05-09 11:22:35 +0000 |
| commit | 821a625c0f1e984b303a3d9280ed040c701b3a34 (patch) | |
| tree | be704d414f53f2dbd0f7083a361bf7107085c437 /security/base/files/patch-includes__base_state_citems.inc.php | |
| parent | - Update to 1.9.2 (diff) | |
- Update to 1.4.5
PR: 145635
Submitted by: olli hauer <ohauer@gmx.de>
Diffstat (limited to 'security/base/files/patch-includes__base_state_citems.inc.php')
| -rw-r--r-- | security/base/files/patch-includes__base_state_citems.inc.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/security/base/files/patch-includes__base_state_citems.inc.php b/security/base/files/patch-includes__base_state_citems.inc.php new file mode 100644 index 000000000000..40755eb24643 --- /dev/null +++ b/security/base/files/patch-includes__base_state_citems.inc.php @@ -0,0 +1,11 @@ +--- ./includes/base_state_citems.inc.php.orig 2010-03-05 16:06:18.000000000 +0100 ++++ ./includes/base_state_citems.inc.php 2010-04-11 23:52:13.000000000 +0200 +@@ -963,7 +963,7 @@ + for ( $i = 0; $i < $this->criteria_cnt; $i++ ) + { + if ( (isset ($this->criteria[$i][3])) && +- (ereg("([0-9]*)\.([0-9]*)\.([0-9]*)\.([0-9]*)", $this->criteria[$i][3])) ) ++ (preg_match("/([0-9]*)\.([0-9]*)\.([0-9]*)\.([0-9]*)/", $this->criteria[$i][3])) ) + { + $tmp_ip_str = $this->criteria[$i][7] = $this->criteria[$i][3]; + $this->criteria[$i][3] = strtok($tmp_ip_str, "."); |
