src/aol.c

BUGDESC Null pointer argument in call to memory copy function BUGTYPE Unix API BUGCATEGORY Logic error BUGFILE /usr/home/richelieu/infoforcefeed/OlegDB/src/aol.c BUGLINE 46 BUGPATHLENGTH 22 BUGMETAEND REPORTHEADER File: aol.c Location: line 46, column 5 Description: Null pointer argument in call to memory copy function REPORTSUMMARYEXTRA 1 #include "aol.h" 2 #include "data.h" 3 #include "oleg.h" 4 #include "logging.h" 5 #include "errhandle.h" 6 #include "lz4.h" 7 8 #include <stdio.h> 9 #include <unistd.h> 10 #include <fcntl.h> 11 #include <stdlib.h> 12 #include <time.h> 13 #include <math.h> 14 15 int ol_aol_init(ol_database *db) { 16 if (db->is_enabled(OL_F_APPENDONLY, &db->feature_set)) { 17 debug( "Opening append only log" ); 18 debug( "Append only log: %s" , db->aol_file); 19 db->aolfd = fopen(db->aol_file, "ab+" ); 20 check(db->aolfd != NUL...

Linked on 2014-06-12 02:21:36 | Similar Links