This repository has been archived by the owner on Jul 9, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wrapper_openDriver: fix string management logic
string copies and cats should be done on a clean array so that we don't have garbage when changing parts of the string The libraries are subject to be opened within the Sandbox when using ChromiumOS, so this dlopen calls should just return the handle to the already opened library. Using a bad string will result in an error and the sandbox is locked so no open of any library is possible. Also it is responsibility of the caller of dlopen to call dlclose as calling dlclose will cause the sandbox to avoid any future open of the library in case of error Change-Id: I417335f057fb0332beb6598ef2f6ff2a446deb0a Signed-off-by: Daniel Charles <[email protected]>
- Loading branch information