Wed Jan 3 00:29:49 PST 2007
- Previous message: [Slony1-commit] By cbbrowne: Add in make target for Splint for slon...
- Next message: [Slony1-commit] By cbbrowne: Make 7.4 the earliest supported version
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message:
-----------
Define xxidout,xxid_snapshot_in and xxid_snapshot_out as STRICT. They don't check for NULL input, so they could crash the backend.
Tags:
----
REL_1_2_STABLE
Modified Files:
--------------
slony1-engine/src/xxid:
xxid.v74.sql (r1.1.2.2 -> r1.1.2.3)
-------------- next part --------------
Index: xxid.v74.sql
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/xxid/Attic/xxid.v74.sql,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -Lsrc/xxid/xxid.v74.sql -Lsrc/xxid/xxid.v74.sql -u -w -r1.1.2.2 -r1.1.2.3
--- src/xxid/xxid.v74.sql
+++ src/xxid/xxid.v74.sql
@@ -17,7 +17,7 @@
LANGUAGE C STRICT;
CREATE FUNCTION @NAMESPACE at ."xxidout"(@NAMESPACE at ."xxid") RETURNS cstring
AS '$libdir/xxid', '_Slony_I_xxidout'
- LANGUAGE C;
+ LANGUAGE C STRICT;
--
@@ -146,11 +146,11 @@
CREATE FUNCTION @NAMESPACE at ."xxid_snapshot_in"(cstring)
RETURNS @NAMESPACE at ."xxid_snapshot"
AS '$libdir/xxid', '_Slony_I_xxid_snapshot_in'
- LANGUAGE C;
+ LANGUAGE C STRICT;
CREATE FUNCTION @NAMESPACE at ."xxid_snapshot_out"(@NAMESPACE at ."xxid_snapshot")
RETURNS cstring
AS '$libdir/xxid', '_Slony_I_xxid_snapshot_out'
- LANGUAGE C;
+ LANGUAGE C STRICT;
--
- Previous message: [Slony1-commit] By cbbrowne: Add in make target for Splint for slon...
- Next message: [Slony1-commit] By cbbrowne: Make 7.4 the earliest supported version
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list