diff options
Diffstat (limited to 'fetchmail/fetchmail-6.3.2.patch')
-rw-r--r-- | fetchmail/fetchmail-6.3.2.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/fetchmail/fetchmail-6.3.2.patch b/fetchmail/fetchmail-6.3.2.patch new file mode 100644 index 000000000..cb2113c43 --- /dev/null +++ b/fetchmail/fetchmail-6.3.2.patch @@ -0,0 +1,17 @@ +Index: netrc.c +=================================================================== +- --- netrc.c (Revision 4683) ++++ netrc.c (Revision 4684) +@@ -314,8 +314,10 @@ + free_netrc(netrc_entry *a) { + while(a) { + netrc_entry *n = a->next; +- - memset(a->password, 0x55, strlen(a->password)); +- - xfree(a->password); ++ if (a->password != NULL) { ++ memset(a->password, 0x55, strlen(a->password)); ++ free(a->password); ++ } + xfree(a->login); + xfree(a->host); + xfree(a); |