Bugzilla – Attachment 58622 Details for
Bug 132271
kernel null dereference with/by X
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
Fix
diff.kernel_sis (text/plain), 501 bytes, created by
Egbert Eich
on 2005-11-24 16:33:43 UTC
(
hide
)
Description:
Fix
Filename:
MIME Type:
Creator:
Egbert Eich
Created:
2005-11-24 16:33:43 UTC
Size:
501 bytes
patch
obsolete
>--- drivers/char/drm/drm_context.c.orig 2005-08-29 01:41:01.000000000 +0200 >+++ drivers/char/drm/drm_context.c 2005-11-24 17:19:21.000000000 +0100 >@@ -418,7 +418,10 @@ > if ( ctx.handle != DRM_KERNEL_CONTEXT ) > { > if (dev->driver->context_ctor) >- dev->driver->context_ctor(dev, ctx.handle); >+ if (!dev->driver->context_ctor(dev, ctx.handle)) { >+ DRM_DEBUG( "Running out of ctxs or memory.\n"); >+ return -ENOMEM; >+ } > } > > ctx_entry = drm_alloc( sizeof(*ctx_entry), DRM_MEM_CTXLIST );
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 132271
:
56440
|
57588
|
57589
| 58622