Wed Dec 9 12:55:45 PST 2009
- Previous message: [Slony1-commit] slony1-engine/src/slon misc.c
- Next message: [Slony1-commit] slony1-engine/src/slon dbutils.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/src/slon In directory main.slony.info:/tmp/cvs-serv19908/slon Modified Files: Tag: REL_2_0_STABLE misc.c Log Message: Apply Jan's buffer overflow fix to 2.0 branch Index: misc.c =================================================================== RCS file: /home/cvsd/slony1/slony1-engine/src/slon/misc.c,v retrieving revision 1.26.2.2 retrieving revision 1.26.2.3 diff -C2 -d -r1.26.2.2 -r1.26.2.3 *** misc.c 17 Aug 2009 17:09:58 -0000 1.26.2.2 --- misc.c 9 Dec 2009 20:55:43 -0000 1.26.2.3 *************** *** 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/slon misc.c
- Next message: [Slony1-commit] slony1-engine/src/slon dbutils.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list