Commit c8b89381 authored by Cristian Rodríguez's avatar Cristian Rodríguez Committed by Christian Beier

Fix buffer overflow

Signed-off-by: 's avatarCristian Rodríguez <crrodriguez@opensuse.org>
Signed-off-by: 's avatarChristian Beier <dontmind@freeshell.org>
parent 98470607
...@@ -393,7 +393,7 @@ FileTransferMsg ...@@ -393,7 +393,7 @@ FileTransferMsg
CreateFileDownloadZeroSizeDataMsg(unsigned long mTime) CreateFileDownloadZeroSizeDataMsg(unsigned long mTime)
{ {
FileTransferMsg fileDownloadZeroSizeDataMsg; FileTransferMsg fileDownloadZeroSizeDataMsg;
int length = sz_rfbFileDownloadDataMsg + sizeof(int); int length = sz_rfbFileDownloadDataMsg + sizeof(unsigned long);
rfbFileDownloadDataMsg *pFDD = NULL; rfbFileDownloadDataMsg *pFDD = NULL;
char *pFollow = NULL; char *pFollow = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment