Skip to content

input_chunk: routes_mask is not initialized (#10223)#10224

Merged
edsiper merged 1 commit intofluent:masterfrom
jinyongchoi:10223-routes_mask-initialized
Apr 22, 2025
Merged

input_chunk: routes_mask is not initialized (#10223)#10224
edsiper merged 1 commit intofluent:masterfrom
jinyongchoi:10223-routes_mask-initialized

Conversation

@jinyongchoi
Copy link
Contributor

@jinyongchoi jinyongchoi commented Apr 17, 2025

This patch fixes an issue where routes_mask was not initialized, leading to potential errors, by adding the necessary initialization code.

Closes #10223


Enter [N/A] in the box, if an item is not applicable to your change.

Testing
Before we can approve your change; please submit the following in a comment:

  • [N/A] Example configuration file for the change
  • [N/A] Debug log output from testing the change
  • Attached Valgrind output that shows no leaks or memory corruption was found
==119424== 
==119424== HEAP SUMMARY:
==119424==     in use at exit: 0 bytes in 0 blocks
==119424==   total heap usage: 16,898,665 allocs, 16,898,665 frees, 17,168,835,647 bytes allocated
==119424== 
==119424== All heap blocks were freed -- no leaks are possible
==119424== 
==119424== For lists of detected and suppressed errors, rerun with: -s
==119424== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

If this is a change to packaging of containers or native binaries then please confirm it works for all targets.

  • [N/A] Run local packaging test showing all targets (including any new ones) build.
  • [N/A] Set ok-package-test label to test for all targets (requires maintainer to do).

Documentation

  • [N/A] Documentation required for this feature

Backporting

  • Backport to latest stable release.

Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.

This patch fixes an issue where routes_mask was not initialized,
leading to potential errors, by adding the necessary initialization code.

Signed-off-by: jinyong.choi <inimax801@gmail.com>
@edsiper edsiper merged commit 795032e into fluent:master Apr 22, 2025
25 of 47 checks passed
@edsiper edsiper added this to the Fluent Bit v4.0.1 milestone Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

input_chunk: routes_mask is not initialized

3 participants

Comments