Skip to content

Conversation

@Lastique
Copy link
Member

This avoids potentially using uninitialized data if ioctl fails. Also, zero-initialize the winsize struct to begin with.

This avoids potentially using uninitialized data if ioctl fails. Also, zero-initialize the winsize struct to begin with.
@Lastique
Copy link
Member Author

This fixes valgrind errors in histogram_ostream_ascii_test, when the test output is redirected to a file. Full valgrind log is below:

vg.log

@HDembinski HDembinski merged commit 5e9b7b1 into boostorg:develop Nov 28, 2025
9 checks passed
@HDembinski
Copy link
Collaborator

Thanks for investigating and providing a solution, that's awesome.

@Lastique Lastique deleted the patch-1 branch November 28, 2025 11:02
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

Successfully merging this pull request may close these issues.

2 participants