From 1ef0791bc65a9977043ebdd99c9127ed99c0138f Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 29 Dec 2022 17:11:24 +0400 Subject: [PATCH] Fix OOM crash on wrong attached stickers hash. Fixes #25495. --- Telegram/SourceFiles/data/stickers/data_stickers.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/data/stickers/data_stickers.cpp b/Telegram/SourceFiles/data/stickers/data_stickers.cpp index 3f6eec350..d78176c59 100644 --- a/Telegram/SourceFiles/data/stickers/data_stickers.cpp +++ b/Telegram/SourceFiles/data/stickers/data_stickers.cpp @@ -926,7 +926,8 @@ void Stickers::specialSetReceived( LOG(("API Error: " "received recent attached stickers hash %1 " "while counted hash is %2" - ).arg(hash, counted)); + ).arg(hash + ).arg(counted)); } session().local().writeRecentMasks(); } break;