diff options
author | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2024-11-26 19:40:16 -0800 |
---|---|---|
committer | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2024-11-27 13:55:02 -0800 |
commit | 194a7cc5e417c76e2d83a6928d47adcea916289c (patch) | |
tree | 8dbc2854fd38c119a97870440ee7e2c1afad5cee /gdbsupport | |
parent | d77a5792b386ec0f02c3b636a91cfc2ce53c2498 (diff) | |
download | binutils-194a7cc5e417c76e2d83a6928d47adcea916289c.zip binutils-194a7cc5e417c76e2d83a6928d47adcea916289c.tar.gz binutils-194a7cc5e417c76e2d83a6928d47adcea916289c.tar.bz2 |
gprofng: skip unrecognized input command
gprofng crashes when the GUI sends an invalid command.
Skip unrecognized commands and return an error status to the GUI.
gprofng/ChangeLog
2024-11-26 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
* src/ipc.cc (ipc_doWork): Skip unrecognized commands.
* src/ipcio.cc (writeError): New function.
* src/ipcio.h: Add RESPONSE_STATUS_ERROR.
Diffstat (limited to 'gdbsupport')
0 files changed, 0 insertions, 0 deletions