Broken CIDR: no fix in 7.4.6? - Mailing list pgsql-bugs

From Alexander M. Pravking
Subject Broken CIDR: no fix in 7.4.6?
Date
Msg-id 20041112162450.GD12640@dyatel.antar.bryansk.ru
Whole thread Raw
Responses Re: Broken CIDR: no fix in 7.4.6?
List pgsql-bugs
As been said, in 7.4.5 CIDR data type has been accepted values with
non-zero bits to the right of >24-bit mask:

http://archives.postgresql.org/pgsql-bugs/2004-10/msg00081.php

In CVS head src/backend/utils/adt/network.c (1.54) has a fix by Bruce,
but 7.4.6 still has 1.47.2.1 with no fix.

I wonder if I can safely use diff -r1.53 -r1.54 .../network.c to patch
7.4.6 sources...


--
Fduch M. Pravking

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: "strange" rule behavior with nextval on new.* fields
Next
From: Bruce Momjian
Date:
Subject: Re: Broken CIDR: no fix in 7.4.6?