aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorBrandon Belew <brandon.belew@zetier.com>2025-03-09 08:15:07 +0400
committerJoel Brobecker <brobecker@adacore.com>2025-03-09 08:15:07 +0400
commitcbc6950a6603e184ebc6671f2c252a56013b07c2 (patch)
treeeab8155efdf2d397981fa367040952967c0aa2e2 /gdb/python
parentfb2f3876d90af66a084a50f84c7da3c8b96c309b (diff)
downloadbinutils-cbc6950a6603e184ebc6671f2c252a56013b07c2.zip
binutils-cbc6950a6603e184ebc6671f2c252a56013b07c2.tar.gz
binutils-cbc6950a6603e184ebc6671f2c252a56013b07c2.tar.bz2
Fix segfault if target_fileio_read_alloc fails
Check for target_fileio_read_alloc failure in linux_fill_prpsinfo before dereferencing buffer. This fixes a segfault in the 'gcore' command when attached to certain remote targets. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32441 Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions