[
https://issues.apache.org/jira/browse/GUACAMOLE-2070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mike Jumper closed GUACAMOLE-2070.
----------------------------------
Fix Version/s: 1.6.1
Resolution: Fixed
> __guac_wol_send_packet() uses incorrect structure for IPv6 address
> ------------------------------------------------------------------
>
> Key: GUACAMOLE-2070
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-2070
> Project: Guacamole
> Issue Type: Bug
> Components: libguac
> Affects Versions: 1.2.0
> Reporter: Mike Jumper
> Assignee: Mike Jumper
> Priority: Minor
> Fix For: 1.6.1
>
>
> The {{__guac_wol_send_packet()}} implementation currently uses a
> {{sockaddr_in}} for both IPv4 and IPv6, but this is incorrect. That structure
> is valid only for use with IPv4. For IPv6, we should instead use
> {{sockaddr_in6}} (or a union that combines the two).
> This can potentially result in a segfault due to the size difference or, if
> using a recent enough GCC and libc, build failures.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)