Bug 32222 - X11 library uninitialized memory reference
Summary: X11 library uninitialized memory reference
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: XFree86
Version: 7.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Mike A. Harris
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2001-03-19 12:46 UTC by Jonathan Kamens
Modified: 2007-04-18 16:32 UTC (History)
0 users

Clone Of:
Last Closed: 2001-03-19 12:47:27 UTC

Attachments (Terms of Use)
patch to fix uninitialized memory reference (319 bytes, patch)
2001-03-19 12:47 UTC, Jonathan Kamens
no flags Details | Diff

Description Jonathan Kamens 2001-03-19 12:46:53 UTC
There is an uninitialized memory reference in the function parse_fontdata
in the fiel xc/lib/X11/omGeneric.c.  It assumes that the contents of a
structure pointer passed into it will be initialized to NULL, but that
isn't necessarily true.  I will attach a patch to fix this problem.  Please
forward this patch back to the maintainers of XFree86.

Comment 1 Jonathan Kamens 2001-03-19 12:47:18 UTC
Created attachment 12964 [details]
patch to fix uninitialized memory reference

Comment 2 Mike A. Harris 2001-03-22 09:24:50 UTC
Thanks very much.  Patch sent upstream to XFree86 team, and incorporated
into my latest build.

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