#2229: Network stack semaphore claim/release not protected for direct SCORE
access.
------------------------+------------------------
Reporter: chrisj | Owner: chrisj
Type: defect | Status: new
Priority: highest | Milestone: 4.11
Component: networking | Version: 4.11
Severity: critical | Keywords: networking
------------------------+------------------------
The network semaphore is currently built with RTEMS_FAST_MUTEX and a
network semaphore claim or release results in a crash because the pointer
to the internal SCORE mutex is not check in the claim or release. A check
should be made for NULL to avoid this invalid access.
This access is an API violation as the SCORE is being directly accessed.
It is too late in the 4.11 release cycle to change this and the stack is
too old to be concerned about correcting this. This ticket is not about
the access violation.
--
Ticket URL: <http://devel.rtems.org/ticket/2229>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs