Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
tigervnc.22921
U_Avoid-potential-crash-when-replacing-buffer-i...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File U_Avoid-potential-crash-when-replacing-buffer-in-Plain.patch of Package tigervnc.22921
From a752d8fd7a0622e11dda72f690d4fea8cb913178 Mon Sep 17 00:00:00 2001 From: Jan Grulich <jgrulich@redhat.com> Date: Mon, 1 Oct 2018 10:17:20 +0200 Subject: [PATCH 1/5] Avoid potential crash when replacing buffer in PlainPasswd --- common/rfb/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/rfb/util.h b/common/rfb/util.h index b678b890..9e59bd37 100644 --- a/common/rfb/util.h +++ b/common/rfb/util.h @@ -50,7 +50,7 @@ namespace rfb { CharArray() : buf(0) {} CharArray(char* str) : buf(str) {} // note: assumes ownership CharArray(size_t len) { - buf = new char[len]; + buf = new char[len](); } ~CharArray() { delete [] buf; -- 2.16.4
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