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: do not parse fonts if symbol not present #422

Merged
merged 2 commits into from
Sep 28, 2023

Conversation

yhql
Copy link
Contributor

@yhql yhql commented Sep 27, 2023

There's a null dereference occuring in speculos itself when passing in a valid application that does not contain the C_bagl_fonts symbol. This PR removes the offending call to parse_fonts if this symbol was not found.

@yhql yhql force-pushed the fix/ocr_null_deref branch from dc96077 to 1dba9c8 Compare September 28, 2023 08:24
@yhql yhql force-pushed the fix/ocr_null_deref branch from 1dba9c8 to 6f42e28 Compare September 28, 2023 10:12
@xchapron-ledger xchapron-ledger merged commit 73c3b0a into master Sep 28, 2023
19 checks passed
@xchapron-ledger xchapron-ledger deleted the fix/ocr_null_deref branch September 28, 2023 13:16
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