-
Notifications
You must be signed in to change notification settings - Fork 587
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix panic in apkdb parsing on empty "provides" values (#1494)
* Add failing test for strip version specifiers panic Signed-off-by: Dan Luhring <[email protected]> * Fix test Signed-off-by: Dan Luhring <[email protected]> * Prevent panic scenario in helper func Signed-off-by: Dan Luhring <[email protected]> * Fix lint issue Signed-off-by: Dan Luhring <[email protected]> * add tests for apk stripVersionSpecifier() and remove caller empty value check Signed-off-by: Alex Goodman <[email protected]> Signed-off-by: Dan Luhring <[email protected]> Signed-off-by: Alex Goodman <[email protected]> Co-authored-by: Alex Goodman <[email protected]>
- Loading branch information
Showing
2 changed files
with
67 additions
and
1 deletion.
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
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