Until now only the size of gaps counted in the regular append, not
close and open.
Bug: #5392.
FileContainerAdd(ffc, ff);
+ ff->size += data_len;
if (data != NULL) {
- ff->size += data_len;
if (AppendData(ff, data, data_len) != 0) {
ff->state = FILE_STATE_ERROR;
SCReturnPtr(NULL, "File");
SCReturnInt(-1);
}
+ ff->size += data_len;
if (data != NULL) {
- ff->size += data_len;
if (ff->flags & FILE_NOSTORE) {
/* no storage but hashing */
if (ff->md5_ctx)