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

fix string being directly passed to printf (no "%s") #327

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

chayleaf
Copy link
Contributor

@chayleaf chayleaf commented Aug 9, 2023

hopefully there was no way there would be a % in the string either way, but this fixes compiling with some additional errors enabled (maybe -Wformat -Wformat-security -Werror=format-security would do it; when I attempted packaging rz-ghidra for NixOS it only errored out on MacOS, so perhaps there's a difference in behavior between gcc and clang)

There's another call to esilprintf with an empty string which causes a warning (-Wformat-zero-length).

Copy link
Member

@XVilka XVilka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW, just for the record, at some point ESIL will be retired once we finish the migration to RzIL: rizinorg/rizin#2080

@thestr4ng3r thestr4ng3r merged commit 85674a4 into rizinorg:dev Aug 11, 2023
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.

3 participants