mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
attempt to work round coverity false positive
This commit is contained in:
parent
1ddcb25b7e
commit
b47faf74bc
1 changed files with 1 additions and 1 deletions
|
@ -3968,7 +3968,7 @@ int ptype, struct sockaddr_in *addr, unsigned short *p, uptr *v)
|
|||
*/
|
||||
ptr = b;
|
||||
port = 0;
|
||||
while (ptr < &b[len])
|
||||
while (ptr < (b + len))
|
||||
{
|
||||
ptr += 2 + ptr[0];
|
||||
port++;
|
||||
|
|
Loading…
Reference in a new issue