Your message dated Thu, 26 Jan 2017 16:50:50 +0000
with message-id <[email protected]>
and subject line Bug#822935: fixed in pgsql-asn1oid 0.0.20100818-3.5
has caused the Debian Bug report #822935,
regarding postgresql-9.4-asn1oid: Plugin crashes when trying to use syntax 
'.1.2.3'::asn1oid
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
822935: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822935
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: postgresql-9.4-asn1oid
Version: 0.0.20100818-3.1
Severity: normal

Dear Maintainer,

  template1=# SELECT '.1.2.3'::asn1oid;
  server closed the connection unexpectedly
    This probably means the server terminated abnormally
    before or while processing the request.
  The connection to the server was lost. Attempting reset: Failed.

Attached is a very simple patch that fixes this problem.


-- System Information:
Debian Release: 8.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages postgresql-9.4-asn1oid depends on:
ii  libc6           2.19-18+deb8u4
ii  postgresql-9.4  9.4.7-1.pgdg80+1

postgresql-9.4-asn1oid recommends no packages.

postgresql-9.4-asn1oid suggests no packages.

-- no debconf information

--- asn1oid.c.orig	2016-04-29 08:05:46.202000167 +0200
+++ asn1oid.c	2016-04-29 08:01:32.605836190 +0200
@@ -101,8 +101,12 @@
             tmp[i] += 9;
             break;
         case '.':
-            if(c == str)
+            if(c == str) {
+                if (c[1]) {
+                    break;
+                }
                 PG_RETURN_POINTER(0);
+            }
             ++i;
             if(i >= 64)
                 PG_RETURN_POINTER(0);


--- End Message ---
--- Begin Message ---
Source: pgsql-asn1oid
Source-Version: 0.0.20100818-3.5

We believe that the bug you reported is fixed in the latest version of
pgsql-asn1oid, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christoph Berg <[email protected]> (supplier of updated pgsql-asn1oid package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 26 Jan 2017 17:32:57 +0100
Source: pgsql-asn1oid
Binary: postgresql-9.6-asn1oid
Architecture: source
Version: 0.0.20100818-3.5
Distribution: unstable
Urgency: medium
Maintainer: Simon Richter <[email protected]>
Changed-By: Christoph Berg <[email protected]>
Description:
 postgresql-9.6-asn1oid - ASN.1 OID data type for PostgreSQL
Closes: 822935
Changes:
 pgsql-asn1oid (0.0.20100818-3.5) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Add patch by Herwin Weststrate to fix crash on invalid asn1oid input,
     thanks! (Closes: 822935)
Checksums-Sha1:
 be278646ed52ec6b88249bdfdff082e5b1745013 1885 
pgsql-asn1oid_0.0.20100818-3.5.dsc
 2338f54d6fe3becc63d565bab115aa7df8492a03 3052 
pgsql-asn1oid_0.0.20100818-3.5.debian.tar.xz
Checksums-Sha256:
 1c66c6d9810908cf1d251219355fe146bdd2dcc62b69e3e71158df12a6d964c3 1885 
pgsql-asn1oid_0.0.20100818-3.5.dsc
 531d1a26d64ff93413f5b72f371148b839337130e89d9ce54387f2353c513aae 3052 
pgsql-asn1oid_0.0.20100818-3.5.debian.tar.xz
Files:
 cb9bcaf08ead4ff582794f467e6a65ca 1885 database optional 
pgsql-asn1oid_0.0.20100818-3.5.dsc
 6dc157278c36276384dfb9dbebec2873 3052 database optional 
pgsql-asn1oid_0.0.20100818-3.5.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAliKJkIACgkQTFprqxLS
p64DgxAAqDSJd78Qt+CWKOAm4mGkO15l/EIMmc6lGKdBAw/xImTLq2BXZlkEv8lx
jBf+MerH8aHHTAyOwzblPnn7D31EGg5G7oKHTuqA/IxkfgeAukBbhbCoRgfyAd1Y
RXMytK0T1xUUjhcHbXWZUyfIY3zi28+E8pd7xX8aML8As3xPCOqEBlv55tkLn4fI
Zj9bZy3ad3IG98hvq2f/rGaeg+UsEyh9cILf1ADtJfMoWhjJBqtbKlyXFEThob7B
jxwZvmObQrSh1jIxN2904o8XIN26x31e7d0oeeKHfDwMasIm4+RdFpt/jp8gHtco
lf9Frz76OJ4pCeTfxGD/0+6XPMCGINDqcQTwE7E7SwtMldrgcxT6EWodFirNNzrp
qTMxe9vG3fPJDcV82vhxrUC+YfssC7oLVLX0x02MyY1jFTX7HyfQpnCfSZ21Pkzl
by1o6dlg2W1/NeF2spC4pPz3r9HrprAc/HK7IzdmvWE8C546GMNOORcTnGc60/uz
dbljQIwTvvUQHC8I4+DvoFnbLw3J11FrK0YUSrsg7W8A66AZkfGwwdTeGv168TBK
Zfxbm6AGqyGZixNWsNK3ksUw1sVzqr+hqUN7Oz/hZDbQKXt5YSyyMRjNnLBaHl7E
45JN35lCFnl3oZ2M8XdjPhOZHqqA+1anY0o1CQemjMS4RYVqPRU=
=rbWd
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to