From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19281 invoked by alias); 31 Aug 2005 22:43:18 -0000 Mailing-List: contact glibc-bugs-regex-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-regex-owner@sources.redhat.com Received: (qmail 19066 invoked by uid 48); 31 Aug 2005 22:43:03 -0000 Date: Wed, 31 Aug 2005 22:43:00 -0000 From: "eggert at gnu dot org" To: glibc-bugs-regex@sources.redhat.com Message-ID: <20050831224259.1281.eggert@gnu.org> Reply-To: sourceware-bugzilla@sources.redhat.com Subject: [Bug regex/1281] New: support 64-bit hosts when regex code when used outside glibc X-Bugzilla-Reason: CC X-SW-Source: 2005-08/txt/msg00080.txt.bz2 List-Id: On 64-bit hosts (where size_t is 64 bits and int is 32 bits), the old glibc regex code mishandles strings longer than 2**31 bytes. The attached patch fixes this when the regex code is used in gnulib (i.e., outside glibc). This patch should not affect the use of the regex code inside glibc. No doubt this problem also needs to be handled for glibc as well, but the result will be an incompatible change to the glibc ABI, and the old ABI will have to be supported too. That can be the the subject for another patch. -- Summary: support 64-bit hosts when regex code when used outside glibc Product: glibc Version: 2.3.5 Status: NEW Severity: normal Priority: P2 Component: regex AssignedTo: gotom at debian dot or dot jp ReportedBy: eggert at gnu dot org CC: glibc-bugs-regex at sources dot redhat dot com,glibc- bugs at sources dot redhat dot com BugsThisDependsOn: 1220 http://sources.redhat.com/bugzilla/show_bug.cgi?id=1281 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.