Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FogBugz #574552: misc: intel-service: resolve a possible memory excep…
…tion S10 service layer has a potential bug at its routine request_svc_channel_byname(), where service layer driver doesn't validate the name passed by service client so there is no guarantee to get an valid pointer. As a result a memory access exception may occur. Signed-off-by: Richard Gong <[email protected]> --- v2: s/-ENODEV/-EPROBE_DEFER if svc's probe was called after client, or error on probe s/-EPROBE_DEFER/-EINVAL if there was no channel match v3: resolve the potential KW error
- Loading branch information