Package: ssl-cert-check
Version: 3.30-1
Severity: normal

Dear Maintainer,

  Any more than a single space between the host and the port
  in a host file causes the program to exit prematurely.

  I have included a patch which appears to correct the issue.


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.11.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set 
to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages ssl-cert-check depends on:
ii  openssl  1.1.0f-3

Versions of packages ssl-cert-check recommends:
ii  bsd-mailx [mailx]  8.1.2-0.20160123cvs-4

ssl-cert-check suggests no packages.

-- no debconf information
--- /usr/bin/ssl-cert-check     2017-07-11 05:56:04.000000000 -0400
+++ ssl-cert-check_fix  2017-07-18 10:11:53.745932748 -0400
@@ -905,7 +905,7 @@
     for LINE in `egrep -v '(^#|^$)' ${SERVERFILE}`
     do
         HOST=${LINE%% *}
-        PORT=${LINE#* }
+        PORT=${LINE##* }
         IFS=" "
         if [ "$PORT" = "FILE" ]
         then

Reply via email to