Actions
Bug #8102
closed
VJ
VJ
unix-socket: hostbit commands ipv6 parsing issues
Bug #8102:
unix-socket: hostbit commands ipv6 parsing issues
Affected Versions:
Effort:
Difficulty:
Label:
Description
Spotted by a compiler warning
from /usr/include/dirent.h:25,
from suricata-common.h:73,
from runmode-unix-socket.c:18:
In function ‘inet_pton’,
inlined from ‘UnixSocketHostbitAdd’ at runmode-unix-socket.c:1316:13:
/usr/include/x86_64-linux-gnu/bits/inet-fortified.h:56:10: warning: call to ‘__inet_pton_chk_warn’ declared with attribute warning: inet_pton called with a destination buffer size too small [-Wattribute-warning]
56 | return __glibc_fortify (inet_pton, __sz, sizeof (char),
| ^~~~~~~~~~~~~~~
In function ‘inet_pton’,
inlined from ‘UnixSocketHostbitRemove’ at runmode-unix-socket.c:1403:13:
/usr/include/x86_64-linux-gnu/bits/inet-fortified.h:56:10: warning: call to ‘__inet_pton_chk_warn’ declared with attribute warning: inet_pton called with a destination buffer size too small [-Wattribute-warning]
56 | return __glibc_fortify (inet_pton, __sz, sizeof (char),
| ^~~~~~~~~~~~~~~
In function ‘inet_pton’,
inlined from ‘UnixSocketHostbitList’ at runmode-unix-socket.c:1476:13:
/usr/include/x86_64-linux-gnu/bits/inet-fortified.h:56:10: warning: call to ‘__inet_pton_chk_warn’ declared with attribute warning: inet_pton called with a destination buffer size too small [-Wattribute-warning]
56 | return __glibc_fortify (inet_pton, __sz, sizeof (char),
| ^~~~~~~~~~~~~~~
OT Updated by OISF Ticketbot 5 months ago
- Subtask #8103 added
OT Updated by OISF Ticketbot 5 months ago
- Label deleted (
Needs backport to 8.0)
OT Updated by OISF Ticketbot 5 months ago
- Subtask #8104 added
OT Updated by OISF Ticketbot 5 months ago
- Label deleted (
Needs backport to 7.0)
VJ Updated by Victor Julien 5 months ago
- Status changed from In Progress to In Review
VJ Updated by Victor Julien 4 months ago
- Status changed from In Review to Closed
Actions