ZaStoGram_desktop/Telegram/SourceFiles/mtproto/details
Repository files (latest commit first)
Filename Latest commit message Latest commit date
loop-uh 9e53824c75 Fix MTProto buffer/protocol bugs found in audit
- connection_abstract: parseNotSecureResponse returned a span sized in
  bytes but make_span expects an element (mtpPrime) count, causing a 4x
  out-of-bounds read while parsing the fake req_pq reply.
- send: in the container path invokeWithLayer/initConnection was nested
  inside invokeAfterMsg; reorder so the layer wrapper stays outermost
  (matches the single-request path).
- tls_socket_handshake: guard checkHelloDigest against a too-short
  Server Hello to avoid an out-of-bounds subspan (remote crash from a
  malicious proxy).
- rsa_public_key: fix right-alignment offset in decrypt() to mirror
  encrypt() (wrong offset on short RSA results).
2026-07-09 00:54:55 +03:00
..
mtproto_dcenter.cpp Restructure mtproto ownership 2026-07-08 00:07:46 +03:00
mtproto_dcenter.h Create only temporary keys for CDN. 2019-12-28 13:52:29 +03:00
mtproto_domain_resolver.cpp fix 2026-07-08 16:28:12 +03:00
mtproto_domain_resolver.h fix 2026-07-08 16:28:12 +03:00
mtproto_received_ids_manager.cpp Reset session on receiving a really old msgId. 2021-12-07 10:05:41 +04:00
mtproto_received_ids_manager.h Reset session on receiving a really old msgId. 2021-12-07 10:05:41 +04:00
mtproto_rsa_public_key.cpp Fix MTProto buffer/protocol bugs found in audit 2026-07-09 00:54:55 +03:00
mtproto_rsa_public_key.h Move some more code to lib_mtproto. 2019-12-02 16:11:22 +03:00