diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2004-06-11 19:43:52 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2004-06-11 19:43:52 +0000 |
commit | 3180b5104a12515299d085cc2672a762eecd8184 (patch) | |
tree | 862e1ddb278ddb32feb91e1bec0460a66e55912e /pop3.c | |
parent | 5bbed890029e6b965a32317763ef33c9b3178550 (diff) | |
download | fetchmail-3180b5104a12515299d085cc2672a762eecd8184.tar.gz fetchmail-3180b5104a12515299d085cc2672a762eecd8184.tar.bz2 fetchmail-3180b5104a12515299d085cc2672a762eecd8184.zip |
Make sure we don't return uninitialized data from pop3_getpartialsizes,
which can happen iff first > last.
svn path=/trunk/; revision=3883
Diffstat (limited to 'pop3.c')
-rw-r--r-- | pop3.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -916,7 +916,7 @@ static int pop3_getrange(int sock, static int pop3_getpartialsizes(int sock, int first, int last, int *sizes) /* capture the size of message #first */ { - int ok, i; + int ok = 0, i; char buf [POPBUFSIZE+1]; unsigned int num, size; |