From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12139 invoked by alias); 22 Jun 2014 07:46:34 -0000 Mailing-List: contact glibc-bugs-regex-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-regex-owner@sourceware.org Received: (qmail 11474 invoked by uid 55); 22 Jun 2014 07:46:25 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs-regex@sourceware.org Subject: [Bug regex/17069] leak in regcomp Date: Sun, 22 Jun 2014 07:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: regex X-Bugzilla-Version: 2.20 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.20 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-06/txt/msg00024.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D17069 --- Comment #9 from cvs-commit at gcc dot gnu.org --- This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU C Library master sources". The branch, allan/2.19/backport has been created at 7e09ce56759640a4bf10e4d6ddca77757e115f13 (commit) - Log ----------------------------------------------------------------- https://sourceware.org/git/gitweb.cgi?p=3Dglibc.git;h=3D7e09ce56759640a4bf1= 0e4d6ddca77757e115f13 commit 7e09ce56759640a4bf10e4d6ddca77757e115f13 Author: Siddhesh Poyarekar Date: Mon May 26 11:40:08 2014 +0530 Use NSS_STATUS_TRYAGAIN to indicate insufficient buffer (BZ #16878) The netgroups nss modules in the glibc tree use NSS_STATUS_UNAVAIL (with errno as ERANGE) when the supplied buffer does not have sufficient space for the result. This is wrong, because the canonical way to indicate insufficient buffer is to set the errno to ERANGE and the status to NSS_STATUS_TRYAGAIN, as is used by all other modules. This fixes nscd behaviour when the nss_ldap module returns NSS_STATUS_TRYAGAIN to indicate that a netgroup entry is too long to fit into the supplied buffer. (cherry picked from commit c3ec475c5dd16499aa040908e11d382c3ded9692) Conflicts: NEWS https://sourceware.org/git/gitweb.cgi?p=3Dglibc.git;h=3D6489b92b735504bbb12= 4c0a29967e52906101e56 commit 6489b92b735504bbb124c0a29967e52906101e56 Author: Siddhesh Poyarekar Date: Wed Mar 12 17:27:22 2014 +0530 Provide correct buffer length to netgroup queries in nscd (BZ #16695) The buffer to query netgroup entries is allocated sufficient space for the netgroup entries and the key to be appended at the end, but it sends in an incorrect available length to the NSS netgroup query functions, resulting in overflow of the buffer in some special cases. The fix here is to factor in the key length when sending the available buffer and buffer length to the query functions. (cherry picked from commit c44496df2f090a56d3bf75df930592dac6bba46f) Conflicts: NEWS https://sourceware.org/git/gitweb.cgi?p=3Dglibc.git;h=3D00e1e5950611a1d8d5d= 6605906d11432ecd6e7c5 commit 00e1e5950611a1d8d5d6605906d11432ecd6e7c5 Author: Maciej W. Rozycki Date: Fri Jun 20 21:52:53 2014 +0100 [BZ #16046] dl_iterate_phdr static executable test (cherry picked from commit 257ce7127e2f64a6a959b146786cd43de0e42b5f) https://sourceware.org/git/gitweb.cgi?p=3Dglibc.git;h=3D0625ebcc25a4eda851b= 53b50f99fa49f790b9ee8 commit 0625ebcc25a4eda851b53b50f99fa49f790b9ee8 Author: Andreas Schwab Date: Fri Jun 20 12:41:27 2014 +0200 Fix another memory leak in regexp compiler (BZ #17069) (cherry picked from commit aa6ec754f3b4b1df81d186480c534b6486a1e6ee) Conflicts: NEWS https://sourceware.org/git/gitweb.cgi?p=3Dglibc.git;h=3Dfc93c8a02c25e2486f3= 057ae06cf79209c381832 commit fc93c8a02c25e2486f3057ae06cf79209c381832 Author: Andreas Schwab Date: Thu Jun 19 15:38:03 2014 +0200 Fix memory leak in regexp compiler (BZ #17069) (cherry picked from commit 4d43ef1e7434d7d419afbcd754931cb0c794763c) Conflicts: posix/Makefile https://sourceware.org/git/gitweb.cgi?p=3Dglibc.git;h=3D7b17d60f13089585c2b= 63d46cbc660c4b85d169d commit 7b17d60f13089585c2b63d46cbc660c4b85d169d Author: Andreas Schwab Date: Mon May 26 18:01:31 2014 +0200 Fix invalid file descriptor reuse while sending DNS query (BZ #15946) (cherry picked from commit f9d2d03254a58d92635a311a42253eeed5a40a47) Conflicts: NEWS https://sourceware.org/git/gitweb.cgi?p=3Dglibc.git;h=3D76aebfbb87ecc33e59d= 29a8adda76dfcdbc9213d commit 76aebfbb87ecc33e59d29a8adda76dfcdbc9213d Author: Andreas Schwab Date: Tue Feb 18 10:57:25 2014 +0100 Properly fix memory leak in _nss_dns_gethostbyname4_r with big DNS answ= er Instead of trying to guess whether the second buffer needs to be freed set a flag at the place it is allocated (cherry picked from commit ab09bf616ad527b249aca5f2a4956fd526f0712f) https://sourceware.org/git/gitweb.cgi?p=3Dglibc.git;h=3Dc6ce0dadcfd14973ba8= 80f4e043058a9367f00ce commit c6ce0dadcfd14973ba880f4e043058a9367f00ce Author: Ond=C5=99ej B=C3=ADlka Date: Sun Feb 16 12:59:23 2014 +0100 Deduplicate resolv/nss_dns/dns-host.c In resolv/nss_dns/dns-host.c one of code path duplicated code after that. We merge these paths. (cherry picked from commit ab7ac0f2cf8731fe4c3f3aea6088a7c0127b5725) https://sourceware.org/git/gitweb.cgi?p=3Dglibc.git;h=3D4ad0ab7bdb6c4afb3fc= 561c6497759eb939d2a73 commit 4ad0ab7bdb6c4afb3fc561c6497759eb939d2a73 Author: Andreas Schwab Date: Thu Feb 13 11:01:57 2014 +0100 Fix memory leak in _nss_dns_gethostbyname4_r with big DNS answer (cherry picked from commit d668061994a7486a3ba9c7d5e7882d85a2883707) Conflicts: NEWS https://sourceware.org/git/gitweb.cgi?p=3Dglibc.git;h=3D00a84253c5bc7dffb7a= 0a666cea21ea5e0288771 commit 00a84253c5bc7dffb7a0a666cea21ea5e0288771 Author: Andreas Schwab Date: Thu May 8 16:53:01 2014 +0200 Fix unbound stack use in NIS NSS module (cherry picked from commit 315eb1d86aea489cd6325fd1c2521dcfb4fc0e1c) Conflicts: NEWS https://sourceware.org/git/gitweb.cgi?p=3Dglibc.git;h=3D30026b69015db3f8240= 7df83dc1118518ee1fa5c commit 30026b69015db3f82407df83dc1118518ee1fa5c Author: Allan McRae Date: Sat Jun 21 17:23:55 2014 +1000 Mention CVE-2014-4043 in NEWS (cherry picked from commit d03efb2f979defd473955a455d66b949961d26b2) Conflicts: NEWS https://sourceware.org/git/gitweb.cgi?p=3Dglibc.git;h=3De698ea2c03ddfdfa874= 59c1a0e53e2a4289de0fa commit e698ea2c03ddfdfa87459c1a0e53e2a4289de0fa Author: Florian Weimer Date: Wed Jun 11 23:12:52 2014 +0200 posix_spawn_file_actions_addopen needs to copy the path argument (BZ 17= 048) POSIX requires that we make a copy, so we allocate a new string and free it in posix_spawn_file_actions_destroy. Reported by David Reid, Alex Gaynor, and Glyph Lefkowitz. This bug may have security implications. (cherry picked from commit 89e435f3559c53084498e9baad22172b64429362) Conflicts: NEWS ----------------------------------------------------------------------- --=20 You are receiving this mail because: You are on the CC list for the bug. >>From glibc-bugs-regex-return-621-listarch-glibc-bugs-regex=sources.redhat.com@sourceware.org Wed Jun 25 06:43:08 2014 Return-Path: Delivered-To: listarch-glibc-bugs-regex@sources.redhat.com Received: (qmail 27844 invoked by alias); 25 Jun 2014 06:43:08 -0000 Mailing-List: contact glibc-bugs-regex-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-regex-owner@sourceware.org Delivered-To: mailing list glibc-bugs-regex@sourceware.org Received: (qmail 27748 invoked by uid 48); 25 Jun 2014 06:43:04 -0000 From: "fweimer at redhat dot com" To: glibc-bugs-regex@sourceware.org Subject: [Bug regex/14780] [PATCH] handle malloc() and realloc() failures in regcomp() Date: Wed, 25 Jun 2014 06:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: regex X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-06/txt/msg00025.txt.bz2 Content-length: 453 https://sourceware.org/bugzilla/show_bug.cgi?id=14780 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com Flags| |security- -- You are receiving this mail because: You are on the CC list for the bug.