Blame SOURCES/ntp-4.2.6p5-cve-2015-7701.patch

2b78f7
commit d7cd5e186034340402f1393e0813c7d2b14ea6ca
2b78f7
Author:  <jnperlin@hydra.localnet>
2b78f7
Date:   Mon Sep 28 18:22:06 2015 +0200
2b78f7
2b78f7
    [Bug 2909] - Slow memory leak in CRYPTO_ASSOC
2b78f7
     - added missing call to 'free()' in ntp_crypto.c.
2b78f7
2b78f7
diff --git a/ntpd/ntp_crypto.c b/ntpd/ntp_crypto.c
2b78f7
index e9cd6c2..a7b693f 100644
2b78f7
--- a/ntpd/ntp_crypto.c
2b78f7
+++ b/ntpd/ntp_crypto.c
2b78f7
@@ -508,6 +508,7 @@ crypto_recv(
2b78f7
 					rval = XEVNT_ERR;
2b78f7
 					break;
2b78f7
 				}
2b78f7
+				free(peer->cmmd); /* will be set again! */
2b78f7
 			}
2b78f7
 			fp = emalloc(len);
2b78f7
 			memcpy(fp, ep, len);