]> git.ipfire.org Git - thirdparty/curl.git/commit
imap: parse and use UIDVALIDITY as a number
authorDaniel Stenberg <daniel@haxx.se>
Wed, 22 Oct 2025 09:25:42 +0000 (11:25 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 22 Oct 2025 12:12:07 +0000 (14:12 +0200)
commitfb6a4802d7a76d8e36652bedbf6c03270b541974
tree4a4d554e079f276824512d607874e0d6e26ac31a
parentbb78c45407e9ad5fc1884d3b5fa9a16bde8af3d7
imap: parse and use UIDVALIDITY as a number

Instead of a string. Saves a malloc, adds earlier format check.

RFC 3501 section 2.3.1.1 documents the value as a 32-bit value.

Closes #19188
lib/imap.c