Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/devicemapper: fix invalid usage of reflect.SliceHeader
The current usage of reflect.SliceHeader violates rule 6th of unsafe.Pointer conversion. In short, reflect.SliceHeader could not be used as plain struct. See https://golang.org/pkg/unsafe/#Pointer Signed-off-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
- Loading branch information