signalapp / Signal-iOS

A private messenger for iOS.
https://signal.org
GNU Affero General Public License v3.0
10.84k stars 3.04k forks source link

Replace recursive call with while loop to prevent stack overflow. #5884

Open VasilErema opened 1 month ago

VasilErema commented 1 month ago

First time contributor checklist

Contributor checklist

Description

P.S. I had no stack overflow with old/new code when tested - there was no recursive calls. I picked it as a small first contribution.