Ignore:
Timestamp:
03/13/10 13:00:15 (14 years ago)
Author:
tim
Message:

fixed a bug in time validation that improves recovery rates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • releases/0.12.0/lib/regfi.c

    r173 r179  
    23992399   */
    24002400  if(unalloc
    2401      && ((ret_val->mtime.high < REGFI_MTIME_MIN_HIGH
    2402           && ret_val->mtime.low < REGFI_MTIME_MIN_LOW)
    2403          || (ret_val->mtime.high > REGFI_MTIME_MAX_HIGH
    2404              && ret_val->mtime.low > REGFI_MTIME_MAX_LOW)))
    2405     return NULL;
     2401     && (ret_val->mtime.high < REGFI_MTIME_MIN_HIGH
     2402         || ret_val->mtime.high > REGFI_MTIME_MAX_HIGH))
     2403  {
     2404    talloc_free(ret_val);
     2405    return NULL;
     2406  }
    24062407
    24072408  ret_val->unknown1 = IVAL(nk_header, 0xC);
Note: See TracChangeset for help on using the changeset viewer.