diff options
author | Xavi Hernandez <xhernandez@redhat.com> | 2020-01-14 13:28:47 +0100 |
---|---|---|
committer | Amar Tumballi <amarts@gmail.com> | 2020-01-17 14:06:43 +0000 |
commit | 6c48f1649d0916ae237fec08f007c8efb6d53e4e (patch) | |
tree | 553fe9d8e574ea33cae44932feadac803dcfbbd4 /rpc/xdr | |
parent | 71231a6a009ea34ea80da9b36d761f3764043de5 (diff) |
events: fix IPv6 memory corruption
When an event was generated and the target host was resolved to an IPv6
address, there was a memory overflow when that address was copied to a
fixed IPv4 structure (IPv6 addresses are longer than IPv4 ones).
This fix correctly handles IPv4 and IPv6 addresses returned by
getaddrinfo()
Change-Id: I5864a0c6e6f1b405bd85988529570140cf23b250
Fixes: bz#1790870
Signed-off-by: Xavi Hernandez <xhernandez@redhat.com>
Diffstat (limited to 'rpc/xdr')
0 files changed, 0 insertions, 0 deletions