tdesktop icon indicating copy to clipboard operation
tdesktop copied to clipboard

Integer overflow

Open bertmsk opened this issue 9 years ago • 2 comments

Steps to reproduce

  1. Collect images from chats that total size is over 2G
  2. profit!

Expected behaviour

Tell us what should happen Positive local storage images size. Use unsigned uint32_t or uint64_t for size counter

Actual behaviour

Negative size

Configuration

Operating system: Windows 10

Version of Telegram Desktop: 1.0 untitled-2

bertmsk avatar Jan 12 '17 08:01 bertmsk

#2244 duplicate

stek29 avatar Jul 13 '17 07:07 stek29

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Mar 08 '21 20:03 github-actions[bot]