iOS-SDK icon indicating copy to clipboard operation
iOS-SDK copied to clipboard

Crash triggered by [PFBaseSecureKeyWrapper getSignatureBytesUsingPrivateKey]

Open patpatchpatrick opened this issue 1 year ago • 3 comments

PayPal SDK Version

1.1.0

Environment

Both

Xcode Version

15.2

OS Version & Device

No response

Integration type

CocoaPods

Development Processor

Both

Describe the bug

Our app users are hitting crashes due to this line of code in iOS version 1.1.0 of the PayPal/PayPalNativePayments SDK. (This crash has affected 31 users in the past 90 days.)

0x505b24 __75-[PFBaseSecureKeyWrapper getSignatureBytesUsingPrivateKey:data:completion:]_block_invoke + 72

Looks like a possible memory access issue.

Here is one example from crashlytics: image

To reproduce

Unclear. I can't reproduce it myself but this crash has been reported 31 times in the past 90 days via our crashlytics dashboard.

Expected behavior

No crash

Screenshots

No response

patpatchpatrick avatar May 06 '24 19:05 patpatchpatrick

hi @patpatchpatrick 👋🏽 - thanks for bringing this issue to our attention. unfortunately, i've not been able to reproduce it on version 1.1.0. could you please try updating to our latest version 1.3.1 if possible and let us know if this issue still occurs.

agedd avatar May 07 '24 16:05 agedd

Hello @patpatchpatrick, we've forwarded this to team in charge of PayPalCheckout module to see if they can help.

I am also wondering if this is a new issue. When you started observing this behavior. If you have some dates, we can see if there are any helpful logs.

Thank you for you patience.

KunJeongPark avatar May 08 '24 22:05 KunJeongPark

It looks like it possibly started around April 18. I'm not seeing any logs of this crash prior to then.

I can try updating and see if the resolves this issue.

patpatchpatrick avatar Jun 03 '24 19:06 patpatchpatrick