]> git.ipfire.org Git - thirdparty/curl.git/commit
pop3: replace calloc + memcpy with memdup0
authorDaniel Stenberg <daniel@haxx.se>
Sun, 7 Jan 2024 15:06:32 +0000 (16:06 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 8 Jan 2024 21:55:39 +0000 (22:55 +0100)
commita3abc81a482ae8a8d6db80fd38e14f53bdb7c6fc
tree8acf252fe8d28b063875ebd51d9b5d3873f0cbdf
parentcfe7902111ae5478738c7ace8086db74963b87c6
pop3: replace calloc + memcpy with memdup0

... and make sure to return error on out of memory.

Closes #12650
lib/pop3.c