Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
d32de5403b
!67 [sync] PR-66: License compliance rectification
From: @openeuler-sync-bot 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2024-09-03 04:01:36 +00:00
zhangruifang2020
e33a13e6ac License compliance rectification
(cherry picked from commit abf6014317de349b72b8b38d24c2a1453329148d)
2024-09-03 09:49:34 +08:00
openeuler-ci-bot
42e4ce3070
!56 Avoid reading from invalid memory upon failure to open an input file
From: @tong_1001 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2024-04-09 01:16:56 +00:00
shixuantong
24b6737ec2 Avoid reading from invalid memory upon failure to open an input file 2024-04-08 17:09:25 +08:00
openeuler-ci-bot
81072fa728
!55 revert 'Pull Request !53 : Fix crash when mandoc install'
From: @gaoruoshu 
Reviewed-by: @hubin95 
Signed-off-by: @hubin95
2024-03-28 10:59:14 +00:00
gaoruoshu
c8668c5f88
回退 'Pull Request !53 : Fix crash when mandoc install' 2024-03-28 08:17:56 +00:00
openeuler-ci-bot
a351ea5101
!53 Fix crash when mandoc install
From: @li-long315 
Reviewed-by: @gaoruoshu, @yaqiangchen 
Signed-off-by: @gaoruoshu, @yaqiangchen
2023-12-26 10:28:06 +00:00
lilong
ad59b68f97 Fix crash when mandoc install 2023-12-22 15:21:04 +08:00
openeuler-ci-bot
fdbde9de48
!30 [sync] PR-28: update for mass rebuild and upgrade verification
From: @openeuler-sync-bot 
Reviewed-by: @xiezhipeng1 
Signed-off-by: @xiezhipeng1
2022-11-01 09:27:17 +00:00
markeryang
50c2f7925e update for mass rebuild and upgrade verification
(cherry picked from commit a782cd45973e401d4d360e6808f51662136b994a)
2022-10-26 15:56:54 +08:00
2 changed files with 45 additions and 2 deletions

View File

@ -0,0 +1,32 @@
From 61f2d86d93e46309f5721b3700e1b189350282dd Mon Sep 17 00:00:00 2001
From: "G. Branden Robinson" <g.branden.robinson@gmail.com>
Date: Fri, 3 Feb 2023 05:11:46 -0600
Subject: [tbl]: Fix Savannah #63751.
* src/preproc/tbl/main.cpp (main): Avoid reading from invalid memory
upon failure to open an input file.
Fixes <https://savannah.gnu.org/bugs/?63751>.
---
src/preproc/tbl/main.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/preproc/tbl/main.cpp b/src/preproc/tbl/main.cpp
index 467c19f..a3308ba 100644
--- a/src/preproc/tbl/main.cpp
+++ b/src/preproc/tbl/main.cpp
@@ -1658,8 +1658,10 @@ int main(int argc, char **argv)
else {
errno = 0;
FILE *fp = fopen(argv[i], "r");
- if (fp == 0)
+ if (fp == 0) {
+ current_filename = 0 /* nullptr */;
fatal("can't open '%1': %2", argv[i], strerror(errno));
+ }
else {
current_lineno = 1;
string fn(argv[i]);
--
cgit v1.1

View File

@ -2,12 +2,14 @@
%{!?with_x:%global with_x 1}
Name: groff
Version: 1.22.4
Release: 9
Release: 13
Summary: A typesetting system
License: GPLv3+ and GFDL and BSD and MIT
License: GPLv3+ and GFDL-1.3-or-later and BSD and MIT
URL: http://www.gnu.org/software/groff/
Source: http://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz
Patch6000: backport-Avoid-reading-from-invalid-memory.patch
BuildRequires: gcc, gcc-c++ texinfo
BuildRequires: git, netpbm-progs, perl-generators, psutils, ghostscript
BuildRequires: libXaw-devel, libXmu-devel
@ -320,6 +322,15 @@ make check
%{_infodir}/groff.info*
%changelog
* Mon Sep 02 2024 Linux_zhang <zhangruifang@h-partners.com> - 1.22.4-13
- License compliance rectification
* Mon Apr 08 2024 shixuantong <shixuantong1@huawei.com> - 1.22.4-12
- Avoid reading from invalid memory upon failure to open an input file
* Tue Oct 25 2022 yanglongkang <yanglongkang@h-partners.com> - 1.22.4-10
- rebuild for next release
* Tue Mar 15 2022 renhognxun <renhongxun@h-partners.com> 1.22.4-9
- split a sub-package groff-x11