Re: Battery-related regression between 2.6.17-git3 and 2.6.17-git6

From: Larry Finger
Date: Wed Jul 05 2006 - 17:16:19 EST


On Tue, 2006-07-04 at 14:48 -0700, Greg KH wrote:
> On Tue, Jul 04, 2006 at 01:55:43PM +0200, Rafael J. Wysocki wrote:
>>
>> I'm not sure what exactly happens there, but I think hal crashes due to
>> a buffer overflow.
>
> Yes, that looks like what is happening. Perhaps one of the HAL
> developers can point you at a patch that you can apply to your version
> of HAL to get it working.
>
> Either way, this is not a kernel bug, as it could have happened with any
> very long depth device tree, you were just lucky it didn't happen
> sooner.

It is definitely a buffer overflow in hald. I reproduced the problem by a 'hald --daemon=no' command. On my SuSE 10.0 system, the problem was fixed by downloading and installing hal-0.5.7.

Larry

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/