mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
If ecma_date_parse_year got an invalid date string, it could overread the input string. The problem was that we compared the original str_p to str_end_p instead of str_start_p. Additionally I simplified the parser loop. Fixes #3388. JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác oszi@inf.u-szeged.hu