Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
e7c41bc9
Commit
e7c41bc9
authored
Jul 12, 2015
by
Howard Chu
Committed by
Quanah Gibson-Mount
Jul 28, 2015
Browse files
ITS
#8195
fix ITS
#7027
regression, port number sign bit overflow
Another bug from
5de85b92
parent
6bcb1b6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/dnssrv.c
View file @
e7c41bc9
...
...
@@ -399,7 +399,7 @@ add_size:;
if
(
cur
>
0
){
hostlist
[
cur
++
]
=
' '
;
}
cur
+=
sprintf
(
&
hostlist
[
cur
],
"%s:%h
d
"
,
hostent_head
[
i
].
hostname
,
hostent_head
[
i
].
port
);
cur
+=
sprintf
(
&
hostlist
[
cur
],
"%s:%h
u
"
,
hostent_head
[
i
].
hostname
,
hostent_head
[
i
].
port
);
}
}
...
...
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