Red Hat Bugzilla – Bug 50564
function wctomb shouldn't crash if wchar passed to it is negative
Last modified: 2016-11-24 10:22:41 EST
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:
Could reproduce this up to glibc-2.2.3-18, cannot reproduce it with glibc-2.2.4-2.
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.