-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Robert Schütz
committed
Jul 11, 2018
1 parent
aec2178
commit af1313e
Showing
1 changed file
with
8 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
af1313e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@timokau You're sure that patch is empty? That would be fatal because it should fix a security vulnerability. I checked the hash and it seems to be correct.
af1313e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, to be sure I built this myself and checked the file
/nix/store/0y4pbvbislv5rg4z4j4p40zq44qal4vs-CVE-2018-10895.patch
. It was empty.af1313e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably the glob
*
gets expanded to multiple arguments, causingfilterdiff
to fail.af1313e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a pity. Fixed in f981bad.
Maybe an ofborg check for that hash would be nice. cc @grahamc
af1313e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #43538 for a fix without needing ofBorg.
By the way in case you're interested in why this failed: The command expands to
filterdiff <options> -x tests/some-file-in-folder other-file-in-folder <actual patch>
filterdiff
will than apply toother-file-in-folder
(since it is the first argument that doesn't belong to a flag) which is probably not a patch and will be normalized to nothing.