diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2021-02-14 10:43:15 +0100 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2021-02-14 10:43:15 +0100 |
commit | 2b2ff74b057e079b43fee6be291d8f7b1c463999 (patch) | |
tree | 92df3dfb48b34abaab4897da2c3f41ec5c60de5c /imap.c | |
parent | 38653ec3ca6665dfde1ea94f094b00a5c06fcc4f (diff) | |
download | fetchmail-2b2ff74b057e079b43fee6be291d8f7b1c463999.tar.gz fetchmail-2b2ff74b057e079b43fee6be291d8f7b1c463999.tar.bz2 fetchmail-2b2ff74b057e079b43fee6be291d8f7b1c463999.zip |
imap.c revise comment on timeout memory leak if auto (non-static) password buffer is used for LOGIN
Diffstat (limited to 'imap.c')
-rw-r--r-- | imap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -639,7 +639,7 @@ static int imap_getauth(int sock, struct query *ctl, char *greeting) || ctl->server.authenticate == A_PASSWORD) { /* these sizes guarantee no buffer overflow */ - static char *remotename, *password; /* XXX FIXME: not thread-safe but is leaky on timeout */ + static char *remotename, *password; /* XXX FIXME: not thread-safe but dynamic buffer is leaky on timeout */ size_t rnl, pwl; rnl = 2 * strlen(ctl->remotename) + 1; pwl = 2 * strlen(ctl->password) + 1; |