# HG changeset patch # User Pascal Bellard # Date 1422528426 -3600 # Node ID 45fa4cc3852079cdd81f21fa4557913f2942cfc7 # Parent 6f704cecf2c46e7aabaf48d2218efe347486ef2e glibc: typo in CVE-2015-0235 patch diff -r 6f704cecf2c4 -r 45fa4cc38520 glibc/stuff/glibc-2.14.1-CVE-2015-0235.patch --- a/glibc/stuff/glibc-2.14.1-CVE-2015-0235.patch Thu Jan 29 11:14:15 2015 +0100 +++ b/glibc/stuff/glibc-2.14.1-CVE-2015-0235.patch Thu Jan 29 11:47:06 2015 +0100 @@ -19,7 +19,7 @@ size_needed = (sizeof (*host_addr) - + sizeof (*h_addr_ptrs) + strlen (name) + 1); -+ sizeof (*h_addr_ptrs) ++ + sizeof (*h_addr_ptrs) + + sizeof (*h_allias_ptr) + strlen (name) + 1); if (buffer_size == NULL) @@ -48,7 +48,7 @@ *h_errnop = HOST_NOT_FOUND; - if (buffer_size) + if (buffer_size == NULL) -+ *status = NSS_STATUS_NOTFOUND: ++ *status = NSS_STATUS_NOTFOUND; + else *result = NULL; goto done; @@ -130,7 +130,7 @@ *h_errnop = HOST_NOT_FOUND; - if (buffer_size) + if (buffer_size == NULL) -+ *status = NSS_STATUS_NOTFOUND: ++ *status = NSS_STATUS_NOTFOUND; + else *result = NULL; goto done;