Alexander Leitner created GUACAMOLE-1971:
--------------------------------------------

             Summary: CodeQL flagged potential integer overflow within rdp 
protocol
                 Key: GUACAMOLE-1971
                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1971
             Project: Guacamole
          Issue Type: Bug
          Components: guacamole-server, RDP
            Reporter: Alexander Leitner
            Assignee: Alexander Leitner


CodeQL has flagged the following line as potential integer overflow:
{code:c}
unsigned char* data = GUAC_ALIGNED_MALLOC(pointer->width * pointer->height * 4, 
16);{code}

[https://github.com/apache/guacamole-server/blob/8bc7319fc724e95b5e764d7ea323268a041193fe/src/protocols/rdp/pointer.c#L45]

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to