Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lxd: Use retrieved volume name instead of user-provided name
Although of course this will be the same as the user-supplied name given GetStoragePoolVolume returns without error, using the retrieved name ensures code-analysis tools are able to track that we are not directly using user-provided values. If we don't do this, then CodeQL for example may assume we are not validating user-provided values which may be used in path expressions. Signed-off-by: Mark Bolton <[email protected]>
- Loading branch information