mirror of
https://github.com/kalarina-bit/Matewave.git
synced 2026-11-22 08:06:09 +00:00
- Images from another device are size-checked before they are decoded, shown or stored: more than 4096 px on a side is refused, decoding is capped and OutOfMemoryError is caught. A crafted avatar or background could otherwise crash the app every time the friend card was drawn. - Profiles with an out-of-range name, user id, rating or time control are refused and the connection is closed; nothing is stored for them. Names and ratings from presence are bounded in the friends list too. - The opponent's clock claim may not exceed what our clock gives them plus increment and slack, so a modified client cannot keep its time. The increment was also added twice on the receiving side; fixed. - Joining a player from the nearby list checks that the profile belongs to the announced player and flags the opponent as unverified otherwise. - Friend avatars and backgrounds move from one large settings value to one file per image; existing entries are migrated on first read. - The in-game chat keeps the last 200 messages.