pinmux subsystem API is undocumented and does not enforce validation #7390
Labels
area: Pinmux
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
None of the pinmux APIs in include/pinmux.h have any documentation.
In addition, if we are to expose pinmux APIs to user mode, we are going to need the specification to enforce that drivers validate the parameters passed in. Currently the pinmux drivers don't validate any inputs, and a user thread using these APIs have been demonstrated writing to memory that it should not have access to or even disable the MPU.
Until this is done, the pinmux subsystem APIs are being removed from user mode access.
The text was updated successfully, but these errors were encountered: