Wed Dec 9 12:54:40 PST 2009
- Previous message: [Slony1-commit] slony1-engine/src/backend slony1_funcs.sql
- Next message: [Slony1-commit] slony1-engine/src/slon misc.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/src/slon In directory main.slony.info:/tmp/cvs-serv19357/src/slon Modified Files: misc.c Log Message: Apply Jan's change from 1.2 branch - buffer overrun Index: misc.c =================================================================== RCS file: /home/cvsd/slony1/slony1-engine/src/slon/misc.c,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** misc.c 17 Aug 2009 17:25:50 -0000 1.30 --- misc.c 9 Dec 2009 20:54:38 -0000 1.31 *************** *** 184,188 **** off = (int) strlen(outbuf); ! while (vsnprintf(&outbuf[off], (size_t) (outsize - off), fmt, ap) >= outsize - off) { outsize *= 2; --- 184,188 ---- off = (int) strlen(outbuf); ! while (vsnprintf(&outbuf[off], (size_t) (outsize - off), fmt, ap) >= outsize - off - 1) { outsize *= 2;
- Previous message: [Slony1-commit] slony1-engine/src/backend slony1_funcs.sql
- Next message: [Slony1-commit] slony1-engine/src/slon misc.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list