1886593 - sane-airscan-0.99.17 is available

This commit is contained in:
Zdenek Dohnal 2020-10-09 07:50:26 +02:00
parent e845117c96
commit 4ee55a9a32
4 changed files with 7 additions and 28 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
/sane-airscan-0.99.14.tar.gz
/sane-airscan-0.99.15.tar.gz
/sane-airscan-0.99.16.tar.gz
/sane-airscan-0.99.17.tar.gz

View File

@ -1,24 +0,0 @@
From 850654147750750283cd85c2adc133dbc7773f88 Mon Sep 17 00:00:00 2001
From: Alexander Pevzner <pzz@apevzner.com>
Date: Fri, 2 Oct 2020 12:27:18 +0300
Subject: [PATCH] HTTP: fixed crash if host name is not resolvable (#77)
---
airscan-http.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/airscan-http.c b/airscan-http.c
index fa81da0..eba539d 100644
--- a/airscan-http.c
+++ b/airscan-http.c
@@ -2759,6 +2759,7 @@ http_query_start_processing (void *p)
rc = getaddrinfo(host, port, &hints, &q->addrs);
if (rc != 0) {
http_query_complete(q, ERROR(gai_strerror(rc)));
+ return;
}
q->addr_next = q->addrs;
--
2.26.2

View File

@ -4,8 +4,8 @@
%global _hardened_build 1
Name: sane-airscan
Version: 0.99.16
Release: 2%{?dist}
Version: 0.99.17
Release: 1%{?dist}
Summary: SANE backend for AirScan (eSCL) and WSD document scanners
# the exception is defined in LICENSE, meant for SANE project in most cases
License: GPLv2+ with exceptions
@ -13,7 +13,6 @@ URL: https://github.com/alexpevzner/sane-airscan
Source: %{URL}/archive/%{version}/%{name}-%{version}.tar.gz
# backported from upstream
Patch01: 0001-HTTP-fixed-crash-if-host-name-is-not-resolvable-77.patch
# needed for querying and getting mDNS messages from local network
@ -84,6 +83,9 @@ mkdir -p %{buildroot}/
%changelog
* Fri Oct 09 2020 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.17-1
- 1886593 - sane-airscan-0.99.17 is available
* Mon Oct 05 2020 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.16-2
- 1882520 - Crash on libsane-airscan when trying to activate scanner

View File

@ -1 +1 @@
SHA512 (sane-airscan-0.99.16.tar.gz) = 38abf14042ce4ad8789d9797c514ccd01d45bad88de30c99b7395f58de39f5d9af0926812cbb25c94e2d743b404bbad7c8167e9a7fa0cd204caa9625760c2a89
SHA512 (sane-airscan-0.99.17.tar.gz) = 8e9191c7104a8b3440e0bb2bf53f201efcbf5cdc0a6981b2321f6d5f0320c65e266f0ceb88bc2b3eb36c41639b709bb9e28bbb14624212529f2748cefd5d607b