- 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.
- Drop the protocol version gate in the game handshake and its banner
- Admit spectators of any version and drop the update-required dialogs
- Remove the related strings and tests; reword the unverified warning
Adds the full Android source tree with unit tests, fastlane store
metadata and the Gradle wrapper. The archive shipped without
gradle-wrapper.jar, so the official Gradle 9.7.1 wrapper jar is
included to make ./gradlew work from a fresh clone. .gitignore now
also excludes build output and keystores. README gains build
instructions and an updated structure tree.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015g6ECVSKcBG8CJPrqC3G5o