Bug 50564 - function wctomb shouldn't crash if wchar passed to it is negative
Summary: function wctomb shouldn't crash if wchar passed to it is negative
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: glibc
Version: 7.1
Hardware: i386
OS: Linux
high
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Aaron Brown
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-08-01 09:38 UTC by hvv
Modified: 2016-11-24 15:22 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-08-04 20:23:36 UTC
Embargoed:


Attachments (Terms of Use)

Description hvv 2001-08-01 09:38:23 UTC
Description of Problem: In a lot of lame code, char (that is signed) is passed directly as argument to wctomb - so it gets negative argument. Glibc shipped with RH7.1 crashes when this happens.


How Reproducible: Try to start gnumeric 0.67 under russian locale or write a small testsuite yourself.


Steps to Reproduce:
1. 
2. 
3. 

Actual Results:


Expected Results:


Additional Information:

Comment 1 Jakub Jelinek 2001-08-07 13:16:39 UTC
Could reproduce this up to glibc-2.2.3-18, cannot reproduce it with glibc-2.2.4-2.

Comment 2 Bill Nottingham 2006-08-04 20:23:36 UTC
Red Hat Linux and Red Hat Powertools are currently no longer supported by Red
Hat, Inc. In an effort to clean up bugzilla, we are closing all bugs in MODIFIED
state for these products.

However, we do want to make sure that nothing important slips through the
cracks. If, in fact, these issues are not resolved in a current Fedora Core
Release (such as Fedora Core 5), please open a new issues stating so. Thanks.


Note You need to log in before you can comment on or make changes to this bug.