Commit Graph
6 Commits
Author SHA1 Message Date
andrey 3f293ebd65 fix(PIFileTransfer): validate file id before array access
processFile() accessed files_[id - 1] without validating id.
When id == 0 (from a crafted network packet), id - 1 = -1 caused
out-of-bounds access. Added bounds check: id must be in range
[1, files_.size()]. Stops receive and logs error on invalid id.
2026-08-05 17:39:38 +03:00
peri4 caa7880cc4 get rid of piForeach
apply some code analyzer recommendations
ICU flag now check if libicu exists
prepare for more accurate growth of containers (limited PoT, then constantly increase size)
2024-11-20 20:01:47 +03:00
peri4 c2b8a8d6da code format 2022-12-14 14:13:52 +03:00
Бычков Андрей 724a2dffcf picout and clean 2022-08-08 16:44:37 +03:00
peri4 229e237b2b transfers patch 2021-06-14 16:17:05 +03:00
peri4 ccd6a9888f tree changes 2020-08-19 00:47:05 +03:00