Wed Jun 21 10:40:20 PDT 2006
- Previous message: [Slony1-commit] By cbbrowne: Release Notes: Add in discussion of "slon not fall over
- Next message: [Slony1-commit] By cbbrowne: check_slon.sh - Parameter checking was wrong; needed || not
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message:
-----------
Bug #1563 - should only access string if it is non-null...
Modified Files:
--------------
slony1-engine/src/slonik:
dbutil.c (r1.10 -> r1.11)
-------------- next part --------------
Index: dbutil.c
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slonik/dbutil.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -Lsrc/slonik/dbutil.c -Lsrc/slonik/dbutil.c -u -w -r1.10 -r1.11
--- src/slonik/dbutil.c
+++ src/slonik/dbutil.c
@@ -625,7 +625,7 @@
case 'q':
s = va_arg(ap, char *);
- while (*s != '\0')
+ while (s && *s != '\0')
{
switch (*s)
{
- Previous message: [Slony1-commit] By cbbrowne: Release Notes: Add in discussion of "slon not fall over
- Next message: [Slony1-commit] By cbbrowne: check_slon.sh - Parameter checking was wrong; needed || not
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list