Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
dhcp
Commits
71765b58
Commit
71765b58
authored
Jul 03, 2007
by
Shane Kerr
Browse files
Minor bug in octal parsing fixed.
See RT ticket #16514 for more.
parent
ddc73bc1
Changes
2
Hide whitespace changes
Inline
Side-by-side
RELNOTES
View file @
71765b58
...
@@ -54,6 +54,9 @@ suggested fixes to <dhcp-users@isc.org>.
...
@@ -54,6 +54,9 @@ suggested fixes to <dhcp-users@isc.org>.
Changes
since
4.0.0
a1
Changes
since
4.0.0
a1
-
Bug
in
octal
parsing
fixed
.
Thanks
to
Bernd
Fuhrmann
for
the
report
and
fix
.
-
Autoconf
now
supplies
proper
flags
for
Solaris
DHCPv6
builds
.
-
Autoconf
now
supplies
proper
flags
for
Solaris
DHCPv6
builds
.
-
Fix
for
parsing
error
on
some
IPv6
addresses
.
-
Fix
for
parsing
error
on
some
IPv6
addresses
.
...
...
common/conflex.c
View file @
71765b58
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
#ifndef lint
#ifndef lint
static
char
copyright
[]
=
static
char
copyright
[]
=
"$Id: conflex.c,v 1.11
1
2007/0
6/20 10:38
:5
5
shane Exp $ Copyright (c) 2004-2007 Internet Systems Consortium. All rights reserved.
\n
"
;
"$Id: conflex.c,v 1.11
2
2007/0
7/03 09:51
:5
8
shane Exp $ Copyright (c) 2004-2007 Internet Systems Consortium. All rights reserved.
\n
"
;
#endif
/* not lint */
#endif
/* not lint */
#include "dhcpd.h"
#include "dhcpd.h"
...
@@ -540,7 +540,7 @@ static enum dhcp_token read_string (cfile)
...
@@ -540,7 +540,7 @@ static enum dhcp_token read_string (cfile)
}
else
}
else
goto
again
;
goto
again
;
}
else
{
}
else
{
if
(
c
>=
'0'
&&
c
<=
'
9
'
)
{
if
(
c
>=
'0'
&&
c
<=
'
7
'
)
{
value
=
value
*
8
+
(
c
-
'0'
);
value
=
value
*
8
+
(
c
-
'0'
);
}
else
{
}
else
{
if
(
value
!=
0
)
{
if
(
value
!=
0
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment