[PATCH] libpciaccess: fix memory usage errors

Alan Coopersmith alan.coopersmith at oracle.com
Fri Oct 12 17:23:50 PDT 2012


On 09/18/12 01:28 PM, Mark Logan wrote:
> From 5e4a79958e74783cb3ee3e58b183cdcff82daf2b Mon Sep 17 00:00:00 2001
> From: Mark Logan<mark.logan at oracle.com>
> Date: Tue, 18 Sep 2012 09:07:04 -0700
> Subject: [PATCH] This patch fixes memory usage errors that only occur on
>  large SPARC machines with more than 256 PCI devices. In
>  this case, memory is being used after it has been freed by
>  calls to both free() and realloc(). This error was
>  introduced by a previous patch: 2011-03-30    Solaris
>  support for multiple PCI segments (domains)
> 
> Signed-off-by: Mark Logan<mark.logan at oracle.com>

Your mailer mangled the whitespace so that git am couldn't apply the
patch directly, but I managed to make it work with some tweaking.

Pushed now to git master:

To ssh://git.freedesktop.org/git/xorg/lib/libpciaccess
   09f5b48..630b00a  master -> master

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list