Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Aaron Thompson
BIND
Commits
8bc3fe51
Commit
8bc3fe51
authored
Jan 16, 2008
by
Mark Andrews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2305. [security] inet_network() buffer overflow. CVE-2008-0122.
parent
a7637b7d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
CHANGES
CHANGES
+1
-0
lib/bind/inet/inet_network.c
lib/bind/inet/inet_network.c
+2
-2
No files found.
CHANGES
View file @
8bc3fe51
2305. [security] inet_network() buffer overflow. CVE-2008-0122.
--- 9.2.9 released ---
...
...
lib/bind/inet/inet_network.c
View file @
8bc3fe51
...
...
@@ -84,9 +84,9 @@ again:
}
if
(
!
digit
)
return
(
INADDR_NONE
);
if
(
pp
>=
parts
+
4
||
val
>
0xffU
)
return
(
INADDR_NONE
);
if
(
*
cp
==
'.'
)
{
if
(
pp
>=
parts
+
4
||
val
>
0xffU
)
return
(
INADDR_NONE
);
*
pp
++
=
val
,
cp
++
;
goto
again
;
}
...
...
Write
Preview
Markdown
is supported
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