[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] elf: Improve symbol lookup (optimize, fix for b
From: |
andrzej zaborowski |
Subject: |
Re: [Qemu-devel] [PATCH] elf: Improve symbol lookup (optimize, fix for bsd-user) |
Date: |
Tue, 10 Jan 2012 18:36:01 +0100 |
On 5 January 2012 15:39, Stefan Weil <address@hidden> wrote:
> Coverity complained about local variable key which was only partially
> initiated. Only key.st_value was set. As this was also the only part
> of key which was used in function symfind, the code could be optimized
> by directly passing a pointer to orig_addr.
>
> In bsd-user/elfload.c, fix ec822001a2f26eef8701194714f6482b6d852de2
> was missing. This was a simple replacement of > by >= in symfind, so
> I fixed it here without creating an additional patch.
Thanks, applied.
Cheers