Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log_msg_buffer should also buffer source_loc char* #3195

Open
sketch34 opened this issue Sep 20, 2024 · 1 comment
Open

log_msg_buffer should also buffer source_loc char* #3195

sketch34 opened this issue Sep 20, 2024 · 1 comment

Comments

@sketch34
Copy link

The source_loc struct holds const char *filename and const char *funcname which need buffering for the same reason the logger name and payload string_view do.

I encountered this issue when using ringbuffer_sink.

@sketch34 sketch34 changed the title log_msg_buffer should also buffer source_loc log_msg_buffer should also buffer source_loc char* Sep 20, 2024
@tt4g
Copy link
Contributor

tt4g commented Sep 20, 2024

Duplicate #3073, #2867

PR #2935 to resolve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants