You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "bneradt (via GitHub)" <gi...@apache.org> on 2026/01/13 19:58:12 UTC
[PR] Fix Valgrind uninitialized memory warnings [trafficserver]
bneradt opened a new pull request, #12806:
URL: https://github.com/apache/trafficserver/pull/12806
Valgrind reported three uses of uninitialized memory when running the regression tests under it. This patch addresses the following valgrind reported issues:
1. Stripe directory write: Syscall param pwrite64(buf) points to uninitialised byte(s) at AIOThreadInfo::aio_thread_main(AIOThreadInfo*) by Stripe::Stripe(CacheDisk*, long, long, int, int)
2. LogBuffer flush: Syscall param write(buf) points to uninitialised byte(s) at Log::flush_thread_main(void*) by LogBuffer::LogBuffer(LogConfig const*, LogObject*, ...)
3. Cache write from recycled RamCache buffers: Syscall param pwrite64(buf) points to uninitialised byte(s) at AIOThreadInfo::aio_thread_main(AIOThreadInfo*) Uninitialised value was created by a heap allocation at IOBufferData::alloc(long, AllocType) by test_RamCache(...)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix Valgrind uninitialized memory warnings [trafficserver]
Posted by "masaori335 (via GitHub)" <gi...@apache.org>.
masaori335 commented on PR #12806:
URL: https://github.com/apache/trafficserver/pull/12806#issuecomment-3752224808
[approve ci autest 0of4]
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix Valgrind uninitialized memory warnings [trafficserver]
Posted by "bneradt (via GitHub)" <gi...@apache.org>.
bneradt merged PR #12806:
URL: https://github.com/apache/trafficserver/pull/12806
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix Valgrind uninitialized memory warnings [trafficserver]
Posted by "bneradt (via GitHub)" <gi...@apache.org>.
bneradt commented on PR #12806:
URL: https://github.com/apache/trafficserver/pull/12806#issuecomment-3778007667
[approve ci autest 0]
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org