]> git.ipfire.org Git - thirdparty/curl.git/commit
netrc: avoid NULL deref on weird input
authorDaniel Stenberg <daniel@haxx.se>
Wed, 7 May 2025 14:36:08 +0000 (16:36 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 7 May 2025 15:15:39 +0000 (17:15 +0200)
commit613436dbbb309690e4bb09b3bc58ddfdfe7ed1e7
treed17f4edf53063c08ca943fffeb1da1449b6029b7
parent412d3c3dc90c9815ea45cd5a8c1d5fb67144c6e0
netrc: avoid NULL deref on weird input

A dynbuf that never gets populated might return a NULL, and Coverity
could find a way through like that.

Closes #17275
lib/netrc.c