mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-12 15:10:31 +08:00
ITS#8195 fix ITS#7027 regression, port number sign bit overflow
Another bug from 5de85b922aaa5bfa6eb53db6000adf01ebdb0736
This commit is contained in:
parent
624c1fac8b
commit
4796f01209
@ -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…
x
Reference in New Issue
Block a user