[Git][NTPsec/ntpsec][master] Fix fatal error in config-directory code.

Eric S. Raymond gitlab at mg.gitlab.com
Tue Aug 15 12:51:34 UTC 2017


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
958e12a1 by Eric S. Raymond at 2017-08-15T08:51:11-04:00
Fix fatal error in config-directory code.

- - - - -


1 changed file:

- ntpd/ntp_scanner.c


Changes:

=====================================
ntpd/ntp_scanner.c
=====================================
--- a/ntpd/ntp_scanner.c
+++ b/ntpd/ntp_scanner.c
@@ -438,7 +438,7 @@ bool lex_push_file(
 				lex_push_file(subpath);
 			}
 			for (int i = 0; i < basecount; i++)
-				free(baselist[basecount]);
+				free(baselist[i]);
 			free(baselist);
 			return basecount > 0;
 		} else {



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/958e12a11b3ed90ea4b5c405c80966c125788256

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/958e12a11b3ed90ea4b5c405c80966c125788256
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170815/46875167/attachment.html>


More information about the vc mailing list