Fixed potential heap buffer overflow on large hostname setting
(cherry picked from commit 75c1a6f97c9b25b71bcc95b158bc673f6db04400)

Conflicts:
	library/ssl_tls.c
diff --git a/ChangeLog b/ChangeLog
index 60ef749..4ae26db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,7 @@
    * Potential buffer-overflow for ssl_read_record() (independently found by
      both TrustInSoft and Paul Brodeur of Leviathan Security Group)
    * Potential negative value misinterpretation in load_file()
+   * Potential heap buffer overflow on large hostname setting
 
 = Version 1.1.7 released on 2013-06-19
 Changes