diff options
| author | Martin Buck <mb-tmp-tvguho.pbz@gromit.dyndns.org> | 2025-01-06 15:35:30 +0100 |
|---|---|---|
| committer | Martin Buck <mb-tmp-tvguho.pbz@gromit.dyndns.org> | 2025-01-08 13:30:40 +0100 |
| commit | 59ee9d2a796ea9ad4fc55ee5df69fd6b0218a887 (patch) | |
| tree | bec07918f5c5bc2ab89df55af995c8383a3e106f /pimd/pim_igmp.c | |
| parent | 9951da394abb71c6542f91031ac3a9fab04193bd (diff) | |
lib: Handle call to zlog_5424_cycle() without valid FD properly
In zlog_5424_cycle(), struct zlt_5424 *zlt only points to valid memory when
the passed file descriptor is >= 0 (and passing -1 seems to be a supported
use case). So we shouldn't try to compute the address of its zt member when
zlt is NULL.
Signed-off-by: Martin Buck <mb-tmp-tvguho.pbz@gromit.dyndns.org>
Diffstat (limited to 'pimd/pim_igmp.c')
0 files changed, 0 insertions, 0 deletions
