Projects
Essentials
faad2
faad2-fix-stack-overflow.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File faad2-fix-stack-overflow.patch of Package faad2 (Revision 28)
Currently displaying revision
28
,
Show latest
From 1073aeef823cafd844704389e9a497c257768e2f Mon Sep 17 00:00:00 2001 From: Fabian Greffrath <fabian@greffrath.com> Date: Mon, 17 Aug 2020 07:37:09 +0200 Subject: [PATCH] mp4read.c: fix stack-buffer-overflow in stringin()/ftypin() Terminate the string read into the stack buffer, fixes #56. --- frontend/mp4read.c | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/mp4read.c b/frontend/mp4read.c index 1b24f18..1414684 100644 --- a/frontend/mp4read.c +++ b/frontend/mp4read.c @@ -95,6 +95,7 @@ static int stringin(char *txt, int sizemax) if (!txt[size]) break; } + txt[sizemax-1] = '\0'; return size; }
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.