aboutsummaryrefslogtreecommitdiff
path: root/zlib/win32
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2024-03-26 12:05:07 +0000
committerAndrew Burgess <aburgess@redhat.com>2024-03-26 12:05:07 +0000
commit24df37a10f8773ad5db07dc000f694d6405e3a36 (patch)
treeae267868c130248a5b56ae6d4616e0d584a3de2a /zlib/win32
parentc7c9820071f8b81a64221f5cfafb3cbfeafe7916 (diff)
downloadgdb-24df37a10f8773ad5db07dc000f694d6405e3a36.zip
gdb-24df37a10f8773ad5db07dc000f694d6405e3a36.tar.gz
gdb-24df37a10f8773ad5db07dc000f694d6405e3a36.tar.bz2
gdb: fix possible uninitialised variable use
After this commit: commit 198ff6ff819c240545f9fc68b39636fd376d4ba9 Date: Tue Jan 30 15:37:23 2024 +0000 gdb/gdbserver: share x86/linux tdesc caching a possible use of an uninitialised variable was introduced, the 'tdesc' variable in i386_linux_core_read_description might be read without being written too if 'xcr0' was 0. This is fixed in this commit. I've updated the function to follow the same pattern as amd64_linux_core_read_description, if xcr0 is 0 then we select a default xcr0 value and use that to select a tdesc.
Diffstat (limited to 'zlib/win32')
0 files changed, 0 insertions, 0 deletions