BLF: Fix handling of 0-length log containers
This commit is contained in:
parent
0032e25a8a
commit
3d63241756
|
@ -659,6 +659,11 @@ blf_pull_logcontainer_into_memory(blf_params_t *params, blf_log_container_t *con
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
if (container->real_length == 0) {
|
||||
ws_info("blf_pull_logcontainer_into_memory: found container with 0 length");
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/* pull compressed data into buffer */
|
||||
if (container->infile_start_pos < 0) {
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue