Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream all Fedora changes #65

Merged
merged 10 commits into from
Sep 8, 2021

Conversation

frozencemetery
Copy link
Member

These are all the changes in the rawhide branch (that I just pushed) which weren't also in main.

The rebases weren't particularly involved, but I'd still feel better with some review.

vathpela and others added 10 commits September 2, 2021 16:35
This makes the version of the sign API that takes a file type optional,
and makes the client attempt to negotiate which version it's getting.
It also leaves the server able to still handle the version from before
the file type was added.

Signed-off-by: Peter Jones <[email protected]>
[[email protected]: rebase around error format changes]
Signed-off-by: Robbie Harwood <[email protected]>
Signed-off-by: Peter Jones <[email protected]>
Signed-off-by: Peter Jones <[email protected]>
[[email protected]: order of iteration has changed]
Signed-off-by: Robbie Harwood <[email protected]>
Signed-off-by: Peter Jones <[email protected]>
Signed-off-by: Peter Jones <[email protected]>
[[email protected]: pesign-authorize order changes]
Signed-off-by: Robbie Harwood <[email protected]>
authvar.c has a call to free (tokenname) where tokenname is set to a string constant
and never changed.  That triggers GCC to issue a diagnostic that the value should not
be passed to free.

This is a false positive from GCC as the call is guarded by a suitable condition that
always happens to be false.  But pesign is being built without optimization and thus
the condition and free call are not optimized away.

This patch just disables the warning.  A better solution would be to fix the sources
or build with the optimizer enabled.
@frozencemetery
Copy link
Member Author

At a glance, I think this would close #59.

@frozencemetery frozencemetery merged commit aec076d into rhboot:main Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants