From: <bug...@fr...> - 2004-10-28 22:31:32
|
Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://freedesktop.org/bugzilla/show_bug.cgi?id=1730 Summary: __driUtilCreateScreen unitialized memory usage Product: Mesa Version: CVS Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Other AssignedTo: mes...@li... ReportedBy: ot...@re... If a failure occurs early in src/mesa/drivers/dri/common/dri_util.c:__driUtilCreateScreen(), for example if drmOpen() fails, then in the cleanup path pSAREA, framebuffer.base, framebuffer.dev_priv, are accessed uninitialized, likely resulting in a segfault. Fix looks as simple as initializing them to NULL or MAP_FAILED as appropriate; should be 3 lines. -- Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. |