Fatal error: Can't take a prefix of negative length from a collection #1907
Labels
fixed in master
Fixed in master, awaiting next update
kind:bug
triaged
Issue has been reviewed by Stripe and is being tracked internally
Summary
A crash occurred on STPFormTextField
Code to reproduce
UI Examples
on iPad (device or simulator)Card Field
) from the table view on the main screeniOS version
15.1
Installation method
Tested on the sample app
SDK version
21.9.0
Other information
when the crash happens,
" "
(Line 405)""
(Line 405)stp_safeSubstring
func with-1
that makes the crash (Line 406)The text was updated successfully, but these errors were encountered: