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

icu related crash #166

Open
shi-yan opened this issue Jun 30, 2024 · 1 comment
Open

icu related crash #166

shi-yan opened this issue Jun 30, 2024 · 1 comment

Comments

@shi-yan
Copy link

shi-yan commented Jun 30, 2024

this line cause seg fault on my machine,

   const Normalizer2 *nfkc = Normalizer2::getNFKCInstance(errorCode);

https://github.com/kermitt2/pdfalto/blame/9553aba9a3df882d53bb82a2ecdcd9eeb25c7a0d/src/XmlAltoOutputDev.cc#L723C7-L723C7

both the error code and the returned pointer are not handled. in my case, I got U_FILE_ACCESS_ERROR and the pointer is null.

@lfoppiano
Copy link
Collaborator

Hi @shi-yan, could you please provide a PDF that can be used to reproduce the problem?
Which machine do you have? OS, platform

Thank you
Luca

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

No branches or pull requests

2 participants