mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-25 16:22:53 -05:00
ITS#8195 fix ITS#7027 regression, port number sign bit overflow
Another bug from 5de85b922a
This commit is contained in:
parent
624c1fac8b
commit
4796f01209
1 changed files with 1 additions and 1 deletions
|
|
@ -399,7 +399,7 @@ add_size:;
|
|||
if(cur>0){
|
||||
hostlist[cur++]=' ';
|
||||
}
|
||||
cur += sprintf(&hostlist[cur], "%s:%hd", hostent_head[i].hostname, hostent_head[i].port);
|
||||
cur += sprintf(&hostlist[cur], "%s:%hu", hostent_head[i].hostname, hostent_head[i].port);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue