Control: tags -1 patch fixed-upstream

Hello,

Here's a patch to fix this ftbfs (tested on amd64), based on an upstream commit but shortened to get the minimal diff relevant to the build failure.
https://github.com/thkukuk/yp-tools/commit/6188e75cc

Thanks,
Juhani
Description: Fix Wrong pointer usage
From: Thorsten Kukuk <ku...@thkukuk.de>
Origin: 
https://github.com/thkukuk/yp-tools/commit/6188e75cc89c47a786799b73df55a71b777aeb0e
Bug-Debian: https://bugs.debian.org/853714
Last-Update: 2017-12-04

--- a/lib/yp_all_host.c
+++ b/lib/yp_all_host.c
@@ -106,7 +106,7 @@
 
   if (hostname == NULL || hostname[0] == '\0' ||
       indomain == NULL || indomain[0] == '\0' ||
-      inmap == NULL || inmap == '\0')
+      inmap == NULL || inmap[0] == '\0')
     return YPERR_BADARGS;
 
   res = YPERR_YPERR;

Reply via email to