calloc is C89 and C99. Is there any problem using it in sqlite ? 2012/10/17 Richard Hipp <[email protected]>
> On Wed, Oct 17, 2012 at 4:33 PM, Alfred Sawaya <[email protected]> wrote: > > > Hello, > > > > > > Sqlite has some minor valgrind issues (some memory area point to > > unitialized bytes). > > You can easily avoid this by replacing malloc by calloc in src/mem1.c:84 > > and src/mem2.c:255 > > > > Is it possible to integrate those improvements into the mainline of > Sqlite > > ? > > > > Thanks for the data and the suggestion. But I think we'll omit this change > from SQLite for now.... > > > > > > > Thank you, > > > > Alfred. > > > > -- > > > > http://alfred.sawaya.tel > > > > .''`. > > : :' : .:: Alfred Sawaya ::. > > `. `'` > > `- > > _______________________________________________ > > sqlite-users mailing list > > [email protected] > > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > > > > > > -- > D. Richard Hipp > [email protected] > _______________________________________________ > sqlite-users mailing list > [email protected] > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > -- http://alfred.sawaya.tel .''`. : :' : .:: Alfred Sawaya ::. `. `'` `- _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

