This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[FYI/pushed] (Ada) ada-tasks reading uninitialized inferior memory
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 7 Nov 2018 16:32:35 -0500
- Subject: [FYI/pushed] (Ada) ada-tasks reading uninitialized inferior memory
Hello,
I just pushed the following two patches to master, to fix a latent
issue where ada-tasks.c's read_atcb sometimes read uninitialized
memory in the inferior. Up to recently, this wouldn't cause any
actual problem, but a recent change to AdaCore's compiler revealed
the weakness.
* [PATCH 1/2] ada-tasks.c::read_atcb: start from a cleared
* [PATCH 2/2] (Ada/tasking) fix array or string index out of range
Tested on x86_64-linux and pushed to master.
Thank you,
--
Joel