- Timestamp:
- Sep 1, 2015, 7:38:58 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r481 r483 12 12 dnl start 13 13 dnl 14 AM_INIT_AUTOMAKE(samhain, 4. 0.0.rc1)14 AM_INIT_AUTOMAKE(samhain, 4.1.0) 15 15 AC_DEFINE([SAMHAIN], 1, [Application is samhain]) 16 16 AC_CANONICAL_HOST -
trunk/docs/Changelog
r481 r483 1 4.1.0: 2 * fix missing definition for a sh_dummy_ var on BSD et al. 3 (reported by Andrew) 4 1 5 4.0.0: 6 * fix and document default settings for mounts check 2 7 * new -w CL option to wait on scan completion 3 8 * new option ReportCheckflags -
trunk/src/sh_dbIO.c
r481 r483 413 413 } 414 414 415 static void hexdump(unsigned char * data, size_t size) 416 { 417 unsigned int count =0; 418 char ith[3]; 419 420 do { 421 int2hex(data[count], ith); ith[2] = '\0'; 422 printf("%2s", ith); 423 ++count; 424 if (count % 40 == 0) putc('\n', stdout); 425 } while (count < size); 426 } 427 415 428 static size_t dbIO_fread_struct (sh_filestore_t * ptr, FILE *stream, 416 429 const char * path, int * errflag) … … 440 453 char try[5]; 441 454 455 if (1 == 0) 456 hexdump((unsigned char *)&old_struct, sizeof(old_struct)); 442 457 memset(&try_struct, '\0', sizeof(try_struct)); 443 458 if (!memcmp(&old_struct, &try_struct, sizeof(try_struct))) -
trunk/src/sh_suidchk.c
r481 r483 2347 2347 * Avoids the 'clobbered by longjmp' warning. 2348 2348 */ 2349 sh_dummy_ type = (void*) &type;2349 sh_dummy_2229_type = (void*) &type; 2350 2350 2351 2351 while (type == NULL … … 2367 2367 * Avoids the 'clobbered by longjmp' warning. 2368 2368 */ 2369 sh_dummy_ type = (void*) &type;2369 sh_dummy_2229_type = (void*) &type; 2370 2370 2371 2371 if (statfs (relpath, &fss, sizeof (struct statfs), 0) == -1) … … 2395 2395 * Avoids the 'clobbered by longjmp' warning. 2396 2396 */ 2397 sh_dummy_ type = (void*) &type;2397 sh_dummy_2229_type = (void*) &type; 2398 2398 2399 2399 if (statvfs (relpath, &fss) == -1) … … 2436 2436 * Avoids the 'clobbered by longjmp' warning. 2437 2437 */ 2438 sh_dummy_ type = (void*) &type;2438 sh_dummy_2229_type = (void*) &type; 2439 2439 2440 2440 if (S_ISLNK (statp->st_mode))
Note:
See TracChangeset
for help on using the changeset viewer.