Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
LibVNCServer
LibVNCServer-CVE-2019-20839.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File LibVNCServer-CVE-2019-20839.patch of Package LibVNCServer
diff --git a/libvncclient/sockets.c b/libvncclient/sockets.c index f042472f..821f85ca 100644 --- a/libvncclient/sockets.c +++ b/libvncclient/sockets.c @@ -461,6 +461,10 @@ ConnectClientToUnixSock(const char *sockFile) int sock; struct sockaddr_un addr; addr.sun_family = AF_UNIX; + if(strlen(sockFile) + 1 > sizeof(addr.sun_path)) { + rfbClientErr("ConnectToUnixSock: socket file name too long\n"); + return -1; + } strcpy(addr.sun_path, sockFile); sock = socket(AF_UNIX, SOCK_STREAM, 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