bug with 32bit systems with phone number bigger then INT size
-
I think found a bug.
On 32bit systems converting the phone number to int fails with large digits resulting OTP verification failsLocation 1:
class-olws-ajax-request-handler -> olws_handle_otp_verification :
$result = $this->handle_messaging->olws_verify_otp(
(int) $phone_without_country, <– Problem!!
(string) $phone_without_country,Location 2:
class-olws-handle-messaging ->olws_verify_otp:
$phone = filter_var( $phone, FILTER_VALIDATE_INT ); <– Problem!May be use of ctype_digit()?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘bug with 32bit systems with phone number bigger then INT size’ is closed to new replies.