From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22703 invoked by alias); 21 Aug 2005 04:58:59 -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 22660 invoked by uid 48); 21 Aug 2005 04:58:49 -0000 Date: Sun, 21 Aug 2005 04:58:00 -0000 From: "eggert at gnu dot org" To: glibc-bugs-regex@sources.redhat.com Message-ID: <20050821045848.1227.eggert@gnu.org> Reply-To: sourceware-bugzilla@sources.redhat.com Subject: [Bug regex/1227] New: regexec portability bug: code assumes reg_errcode_t is signed X-Bugzilla-Reason: CC X-SW-Source: 2005-08/txt/msg00040.txt.bz2 List-Id: There's a portability bug in sift_states_bkref. The code assumes that reg_errcode_t is a signed type that can represent -1, but this is not necessarily true if _XOPEN_SOURCE is not defined, because in that case reg_errcode_t is an enumerated type containing only nonnegative values, and the C standard allows such types to be unsigned. This problem was reported by Sam Steingold in . I'll attach a patch. -- Summary: regexec portability bug: code assumes reg_errcode_t is signed 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 http://sources.redhat.com/bugzilla/show_bug.cgi?id=1227 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.