This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdbMI/772: Add handle to ui_out_data()
- From: ac131313 at redhat dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 30 Sep 2002 20:21:06 -0000
- Subject: gdbMI/772: Add handle to ui_out_data()
- Reply-to: ac131313 at redhat dot com
>Number: 772
>Category: gdbMI
>Synopsis: Add handle to ui_out_data()
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Sep 30 13:28:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: ac131313@redhat.com
>Release: 2002-09-30
>Organization:
>Environment:
>Description:
The ui_out_data() function lacks any sort of sanity check to ensure that the caller is requesting their own data.
See gdbarch_data() where an additional handle is passed to the function so that code can check that the data returned actually belongs to the caller.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: