From d01e1bb4246323ba6fcee3b82ef1faa9b1dac82a Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Mon, 19 Aug 2019 22:32:25 +0200 Subject: [PATCH] rfbserver: don't leak stack memory to the remote Thanks go to Pavel Cheremushkin of Kaspersky for reporting. --- libvncserver/rfbserver.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libvncserver/rfbserver.c b/libvncserver/rfbserver.c index 3bacc891..310e5487 100644 --- a/libvncserver/rfbserver.c +++ b/libvncserver/rfbserver.c @@ -3724,6 +3724,8 @@ rfbSendServerCutText(rfbScreenInfoPtr rfbScreen,char *str, int len) rfbServerCutTextMsg sct; rfbClientIteratorPtr iterator; + memset((char *)&sct, 0, sizeof(sct)); + iterator = rfbGetClientIterator(rfbScreen); while ((cl = rfbClientIteratorNext(iterator)) != NULL) { sct.type = rfbServerCutText; t type='submit' value='switch'/> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/gnu-maintenance.scm
AgeCommit message (Expand)Author
2023-09-27tests: ‘rewrite-url’ test no longer depends on network access....Ludovic Courtès
2023-08-26gnu-maintenance: Consider Qt source tarballs as "release files"....Maxim Cournoyer
2023-08-26gnu-maintenance: Add support to rewrite version in URL path....Maxim Cournoyer
2023-01-02tests: Fix gnu-maintenance tests....Hartmut Goebel