diff options
| author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2025-09-26 10:32:51 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-09-26 10:38:18 -0700 |
| commit | 580cf0f2f6d38221fc4c5f17155c311915301a5c (patch) | |
| tree | 5ab5643a7c4b9d67d2d4a5b8ea60934f8d747f40 /pack-objects.c | |
| parent | http: offer to cast `size_t` to `curl_off_t` safely (diff) | |
| download | git-580cf0f2f6d38221fc4c5f17155c311915301a5c.tar.gz git-580cf0f2f6d38221fc4c5f17155c311915301a5c.zip | |
imap-send: be more careful when casting to `curl_off_t`
When casting a `size_t` to `curl_off_t`, there is a currently uncommon
chance that the value can be cut off (`curl_off_t` is expected to be a
signed 64-bit data type).
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-objects.c')
0 files changed, 0 insertions, 0 deletions
