Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
filter_nest: define a new var to prevent pointer arithmetic
An arg of FLB_LOG_EVENT_STRING_LENGTH_VALUE is a flb_log_event_encoder_size_t. flb_log_event_encoder_size_t is size_t* on Windows. It can cause pointer arithmetic and the output can be larger value. We use 'new_size' to prevent pointer arithmetic. Signed-off-by: Takahiro Yamashita <[email protected]>
- Loading branch information