Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#1414 closed defect (fixed)

Valid Id of Wrong Object Type Accepted

Reported by: Joel Sherrill Owned by: Joel Sherrill
Priority: normal Milestone: 4.8
Component: score Version: 4.8
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

In 4.8 and older the valid Id object id has a hole where it is possible to pass in a valid id of an object of incorrect type and work. In 4.9 and newer, the logic has changed and this is not possible.

Attachments (1)

pr1414.diff (2.3 KB) - added by Joel Sherrill on 05/21/09 at 12:56:24.
Fix for 4.8

Download all attachments as: .zip

Change History (2)

Changed on 05/21/09 at 12:56:24 by Joel Sherrill

Attachment: pr1414.diff added

Fix for 4.8

comment:1 Changed on 05/21/09 at 14:36:38 by Joel Sherrill

Milestone: 4.104.8
Resolution: fixed
Status: newclosed

Patch committed to 4.8 and legacy release branches.

sp49 added to CVS head.

Note: See TracTickets for help on using tickets.