You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by "Michael Jumper (JIRA)" <ji...@apache.org> on 2017/10/15 00:55:05 UTC
[jira] [Resolved] (GUACAMOLE-411) guacd_send_fd call's sendmsg with
uninitialized buffer
[ https://issues.apache.org/jira/browse/GUACAMOLE-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Jumper resolved GUACAMOLE-411.
--------------------------------------
Resolution: Fixed
Fix Version/s: 0.9.14-incubating
> guacd_send_fd call's sendmsg with uninitialized buffer
> ------------------------------------------------------
>
> Key: GUACAMOLE-411
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-411
> Project: Guacamole
> Issue Type: Bug
> Components: guacd
> Affects Versions: 0.9.13-incubating
> Reporter: Jukka-Pekka Virtanen
> Priority: Minor
> Fix For: 0.9.14-incubating
>
>
> When launching an RDP session through guacd, valgrind complains of using uninitialized values in {{guacd_send_fd}}.
> {code}
> ==8081== Thread 2:
> ==8081== Syscall param sendmsg(msg.msg_control) points to uninitialised byte(s)
> ==8081== at 0x505EA6D: ??? (syscall-template.S:84)
> ==8081== by 0x403F5C: guacd_send_fd (move-fd.c:61)
> ==8081== by 0x40390A: guacd_add_user (connection.c:196)
> ==8081== by 0x40390A: guacd_route_connection (connection.c:311)
> ==8081== by 0x40390A: guacd_connection_thread (connection.c:393)
> ==8081== by 0x50556B9: start_thread (pthread_create.c:333)
> ==8081== by 0x5A1F3DC: clone (clone.S:109)
> ==8081== Address 0xa558d54 is on thread 2's stack
> ==8081== in frame #1, created by guacd_send_fd (move-fd.c:34)
> ==8081== Uninitialised value was created by a stack allocation
> ==8081== at 0x403ED0: guacd_send_fd (move-fd.c:34)
> ==8081==
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)