Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
freerdp.34024
freerdp-CVE-2024-32661.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File freerdp-CVE-2024-32661.patch of Package freerdp.34024
From 636b2aa7fd9c506b9129ba5ace317e0cf93f6d03 Mon Sep 17 00:00:00 2001 From: akallabeth <akallabeth@posteo.net> Date: Sun, 21 Apr 2024 13:56:13 +0200 Subject: [PATCH] [core,info] fix missing check in rdp_write_logon_info_v1 --- libfreerdp/core/info.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libfreerdp/core/info.c b/libfreerdp/core/info.c index 3f8afaef2..cd78fbe11 100644 --- a/libfreerdp/core/info.c +++ b/libfreerdp/core/info.c @@ -23,6 +23,7 @@ #include "config.h" #endif +#include <winpr/assert.h> #include <winpr/crt.h> #include <freerdp/crypto/crypto.h> #include <freerdp/log.h> @@ -1271,6 +1272,10 @@ static BOOL rdp_write_logon_info_v1(wStream* s, logon_info* info) return FALSE; /* domain */ + WINPR_ASSERT(info); + if (!info->domain || !info->username) + return FALSE; + ilen = ConvertToUnicode(CP_UTF8, 0, info->domain, -1, &wString, 0); if (ilen < 0) -- 2.45.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor