Projects
openEuler:24.03:SP1:Everything
patch
_service:tar_scm:backport-Avoid-invalid-memory-...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:backport-Avoid-invalid-memory-access-in-context-format-diffs.patch of Package patch
From 46136e6440f78b4a21eaeaeabef2b4fcb482c158 Mon Sep 17 00:00:00 2001 From: Andreas Gruenbacher <agruen@gnu.org> Date: Mon, 15 Jul 2019 19:10:02 +0200 Subject: [PATCH 4/8] Avoid invalid memory access in context format diffs * src/pch.c (another_hunk): Avoid invalid memory access in context format diffs. Signed-off-by: Xibo.Wang <wangxb12@chinatelecom.cn> --- src/pch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pch.c b/src/pch.c index aa0caf4..87e6f93 100644 --- a/src/pch.c +++ b/src/pch.c @@ -1335,6 +1335,7 @@ another_hunk (enum diff difftype, bool rev) ptrn_prefix_context = context; ptrn_suffix_context = context; if (repl_beginning + || p_end <= 0 || (p_end != p_ptrn_lines + 1 + (p_Char[p_end - 1] == '\n'))) { -- 1.8.3.1
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
.
浙ICP备2022010568号-2