Skip to content
Commit 75715a52 authored by Adrian Thiele's avatar Adrian Thiele Committed by Nicolas Fella
Browse files

Fix integer overflow for large files in AccessManager

When receiving a file that is 2147483648 bytes (2 GiB) or larger via
KDE Connect handling the "Content-Length" header as a signed integer
would cause an integer overflow which in return causes the file transfer
to fail later on. So handle it as an unsigned long long instead.

BUG: 452972
parent da081e8b
Pipeline #294502 passed with stage
in 37 minutes and 7 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment