diff options
author | Brandon Belew <brandon.belew@zetier.com> | 2025-03-09 08:15:07 +0400 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2025-03-09 08:15:07 +0400 |
commit | cbc6950a6603e184ebc6671f2c252a56013b07c2 (patch) | |
tree | eab8155efdf2d397981fa367040952967c0aa2e2 /gdb/python | |
parent | fb2f3876d90af66a084a50f84c7da3c8b96c309b (diff) | |
download | binutils-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