fix SIGABRT after start
Resolves: rhbz#2185402
This commit is contained in:
parent
236bfcf90a
commit
41a651c6c5
20
lynx-2.9.0dev.10-sigabrt-after-start.patch
Normal file
20
lynx-2.9.0dev.10-sigabrt-after-start.patch
Normal file
@ -0,0 +1,20 @@
|
||||
From e54344bd3252108c7c113ea773b3ae9a4e72b427 Mon Sep 17 00:00:00 2001
|
||||
From: "Thomas E. Dickey" <dickey@invisible-island.net>
|
||||
Date: Mon, 10 Apr 2023 22:59:30 +0000
|
||||
Subject: [PATCH] snapshot of project "lynx", label v2-9-0dev_12c
|
||||
|
||||
Cherry-picked to fix rhbz#2185402.
|
||||
|
||||
Upstream-commit: e54344bd3252108c7c113ea773b3ae9a4e72b427
|
||||
Signed-off-by: Lukáš Zaoral <lzaoral@redhat.com>
|
||||
|
||||
diff --git a/WWW/Library/Implementation/HTTCP.c b/WWW/Library/Implementation/HTTCP.c
|
||||
@@ -1494,7 +1494,7 @@ static size_t fill_addrinfo(void **buffer,
|
||||
CTRACE((tfp, "filladdr_info %p\n", (const void *) phost));
|
||||
for (q = phost; q != 0; q = q->ai_next) {
|
||||
++limit;
|
||||
- need += phost->ai_addrlen;
|
||||
+ need += q->ai_addrlen;
|
||||
need += sizeof(LYNX_ADDRINFO);
|
||||
}
|
||||
CTRACE((tfp, "...fill_addrinfo %d:%lu\n", limit, (unsigned long) need));
|
@ -3,7 +3,7 @@
|
||||
Summary: A text-based Web browser
|
||||
Name: lynx
|
||||
Version: 2.9.0
|
||||
Release: %{devrel}.2%{?dist}.4
|
||||
Release: %{devrel}.2%{?dist}.5
|
||||
License: GPL-2.0-only
|
||||
Source: https://invisible-mirror.net/archives/lynx/tarballs/lynx%{version}%{devrel}.tar.bz2
|
||||
URL: https://lynx.invisible-island.net/
|
||||
@ -25,6 +25,9 @@ Patch3: lynx-2.9.0dev.10-xhtml.patch
|
||||
|
||||
Patch4: lynx-configure-c99.patch
|
||||
|
||||
# lynx: memcpy(): lynx killed by SIGABRT
|
||||
Patch5: lynx-2.9.0dev.10-sigabrt-after-start.patch
|
||||
|
||||
Provides: webclient
|
||||
Provides: text-www-browser
|
||||
BuildRequires: dos2unix
|
||||
@ -58,6 +61,7 @@ exits quickly and swiftly displays web pages.
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
|
||||
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
||||
sed -e "s,^HELPFILE:.*,HELPFILE:file://localhost%{_pkgdocdir}/lynx_help/lynx_help_main.html,g" -i lynx.cfg
|
||||
@ -135,6 +139,9 @@ EOF
|
||||
%config(noreplace,missingok) %{_sysconfdir}/lynx-site.cfg
|
||||
|
||||
%changelog
|
||||
* Wed May 03 2023 Lukáš Zaoral <lzaoral@redhat.com> - 2.9.0-dev.10.2.5
|
||||
- fix SIGABRT after start (rhbz#2185402)
|
||||
|
||||
* Tue Apr 11 2023 Lukáš Zaoral <lzaoral@redhat.com> - 2.9.0-dev.10.2.4
|
||||
- migrate to SPDX license format
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user