This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]