Bug 49674 - twm can coredump if it can't get a window name
twm can coredump if it can't get a window name
Product: Red Hat Raw Hide
Classification: Retired
Component: XFree86 (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: X/OpenGL Maintenance List
: Reopened
Depends On:
  Show dependency treegraph
Reported: 2001-07-22 21:16 EDT by Jonathan Kamens
Modified: 2008-06-14 14:50 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-06-14 14:50:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch to fix twm coredump (374 bytes, patch)
2001-07-22 21:16 EDT, Jonathan Kamens
no flags Details | Diff

  None (edit)
Description Jonathan Kamens 2001-07-22 21:16:21 EDT
If I18N_FetchName in util.c in the twm source code fails to retrieve the
window name AddWindow in add_window.c doesn't notice this and attempts to
use the name variable anyways, even though it hasn't been initialized.

The easiest way to fix this is to set the window name variable to NULL in
I18N_FetchName explicitly, because AddWindow checks for this.  I will
attach a patch.
Comment 1 Jonathan Kamens 2001-07-22 21:16:40 EDT
Created attachment 24548 [details]
patch to fix twm coredump
Comment 2 Mike A. Harris 2001-07-24 21:05:55 EDT
Fixed internally in 4.1.0-0.9.5, patch applied.  Will appear
in future rawhide release.
Comment 3 David Lawrence 2006-04-10 11:27:33 EDT
Closing due to inactivity. Please feel free to reopen this bug or refile this
bug against the latest release Fedora Core if you feel this bug is still
relevant today.

Thank you
Comment 4 Mike A. Harris 2008-06-14 09:48:44 EDT
Too bad bugzilla does not let you change the bug owner without reopening the bug
report.  I no longer work at Red Hat, and have anything to do with X, and don't
want any more twm bug report emails.  ;o)

Comment 5 Mike A. Harris 2008-06-14 09:52:00 EDT
Even better, is it wont let me change it back to NOTABUG, meaning if you want to
detach from getting bug spam on particular bugs, you have no option other than
to annoy everyone else involved with the bug too.  
Comment 6 Matěj Cepl 2008-06-14 14:50:13 EDT
You can annoy me in the private email, I would gladly fix it for you (and
especially for you).

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