]> git.ipfire.org Git - thirdparty/curl.git/commit
smb: integer overflow proof a size check
authorDaniel Stenberg <daniel@haxx.se>
Sun, 14 Jun 2026 10:19:49 +0000 (12:19 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 14 Jun 2026 16:12:33 +0000 (18:12 +0200)
commitc4cb67692d4466ba577fcdd9d3eb60cdfe19ba13
tree1893a669d88d0cd5e6ae54142c2b61395ead9391
parentf1b1919bd091e65e67d9e1b680ab76569a8af090
smb: integer overflow proof a size check

By using size_t for the vars instead of shorts.

Pointed out by Zeropath

Closes #22001
lib/smb.c