Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 590380 - x11-drivers/xf86-video-intel-2.99.917_p20160721: version bump
Summary: x11-drivers/xf86-video-intel-2.99.917_p20160721: version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-03 08:09 UTC by Paolo Pedroni
Modified: 2016-08-06 14:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Pedroni 2016-08-03 08:09:57 UTC
Since the original poster of the github PR did not open a bug as requested on github, I'm doing it.

https://github.com/gentoo/gentoo/pull/1934

From upstream VCS:
intel: Fix fd (and mem) leak when intel_scrn_create fails
The probe functions in intel_module.c call intel_open_device() before
calling intel_scrn_create(), but if the later fails because of e.g.
an allocation failure they were not cleaning up the resources
claimed by intel_open_device(), esp. leaking the fd is a problem
because this breaks the fallback to the modesetting driver.

This commit fixes this by adding a intel_close_device() cleanup
function and calling that when intel_scrn_create() fails.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Comment 1 Manuel Rüger (RETIRED) gentoo-dev 2016-08-06 14:00:13 UTC
Thanks, I moved to a more recent target.

commit 41917279f40f1d2e8cf9af80854e26717503ec07
Author: Manuel Rüger <mrueg@gentoo.org>
Date:   Sat Aug 6 15:59:12 2016 +0200

    x11-drivers/xf86-video-intel: Update snapshot
    
    Package-Manager: portage-2.3.0