You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using https://github.com/wonday/react-native-pdf for pdf display. This package uses AndroidPdfViewer to handle PDF display on Android. I got this error with secure report: Outdated "libpng" Library Contains Known Security Flaw
The libpng version I am using is 1.6.22.
The recommended fix is to use libpng of 1.6.32 or greater, which version of libpng are you using in your package and when do you plan to upgrade if it is below 1.6.22?
Thank you and looking forward to your reply.
The text was updated successfully, but these errors were encountered:
Hello! Sorry for the long answer.
Actually I didn't plan to update anything since I made this fork, migrated to the AndroidX and fixed some crashes. I just don't have enough time to do this.
BUT, if you will open a PR here with updated libpng lib I will create an update.
Thanks for understanding 😅
@TalbotGooday Thanks for the reply. Based on this discussions DImuthuUpe#1023, I realized that it is PDFium uses libpng library. And AndroidPdfViewer use PDFium for decoding PDF files.
I cloned your repo and searched for libpng keyword, no result found. So I have two questions:
From your previous comment, I can't find libpng in AndroidPdfViewer, can you please tell me where is it?
If libpng is not in AndroidPdfViewer but it is used in PDFium, how can I update libpng?
Hello,
I am using https://github.com/wonday/react-native-pdf for pdf display. This package uses AndroidPdfViewer to handle PDF display on Android. I got this error with secure report:
Outdated "libpng" Library Contains Known Security Flaw
The libpng version I am using is 1.6.22.
The recommended fix is to use libpng of 1.6.32 or greater, which version of libpng are you using in your package and when do you plan to upgrade if it is below 1.6.22?
Thank you and looking forward to your reply.
The text was updated successfully, but these errors were encountered: