[cvs] bogofilter/src datastore_sqlite.c,1.19,1.20
Matthias Andree
matthias.andree at gmx.de
Tue Mar 15 11:29:12 CET 2005
- Previous message (by thread): [cvs] bogofilter/src bogomain.c, 1.10, 1.11 datastore_db_trans.c, 1.18, 1.19 datastore_sqlite.c, 1.17, 1.18 datastore_tdb.c, 1.45, 1.46
- Next message (by thread): [cvs] bogofilter/src rstats.c,1.49,1.50
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
David Relson <relson at users.sourceforge.net> writes:
> Log Message:
> Correct additional malloc/xmalloc errors.
>
> Index: datastore_sqlite.c
> ===================================================================
> RCS file: /cvsroot/bogofilter/bogofilter/src/datastore_sqlite.c,v
> retrieving revision 1.19
> retrieving revision 1.20
> diff -u -d -r1.19 -r1.20
> --- datastore_sqlite.c 15 Mar 2005 01:06:39 -0000 1.19
> +++ datastore_sqlite.c 15 Mar 2005 01:31:16 -0000 1.20
> @@ -238,7 +238,7 @@
> {
> u_int32_t p[2] = { 0x01020304, 0x01020304 };
> int rc2;
> - k.data = strdup(ENDIAN32);
> + k.data = xstrdup(ENDIAN32);
Thanks for catching & fixing this. When I wrote this code, I must have
thought "static copy, won't fail" - which is of course bogus.
--
Matthias Andree
_______________________________________________
Bogofilter-dev mailing list
Bogofilter-dev at bogofilter.org
http://www.bogofilter.org/mailman/listinfo/bogofilter-dev
- Previous message (by thread): [cvs] bogofilter/src bogomain.c, 1.10, 1.11 datastore_db_trans.c, 1.18, 1.19 datastore_sqlite.c, 1.17, 1.18 datastore_tdb.c, 1.45, 1.46
- Next message (by thread): [cvs] bogofilter/src rstats.c,1.49,1.50
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the bogofilter-dev
mailing list