forked from dracut-ng/dracut-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dracut-install): do not assume handled path starts with sysrootdir
When using --sysrootdir argument, we cannot assume fulldstpath and fullsrcpath always start with sysrootdir. When dracut_install is called on destination directory, this results in passing pointer which is often beyond valid buffer. Signed-off-by: Ondrej Kubik <ondrej.kubik@canonical.com>
- Loading branch information
1 parent
91b1574
commit 7bc1f53
Showing
1 changed file
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters