Thx for the report, fixed.
--garbeam
On Mon, Dec 19, 2005 at 11:09:19AM -0800, Adam Gleave wrote:
> If you select a non-existent program (for instance, type ctrl+alt+p
> and then type adf - persuming no program begins with adf) wmiimenu
> will segfault. This is due to dereferencing a null pointer in
> update_offset. A gdb backtrace is attatched.
>
> But I found in update_offsets some interesting code:
>
> if (!i)
> return;
>
> If I remember the C spec correctly, uninitialized local variables are
> undefined; so it seems odd to test an undefined value. The only use I
> can think of is if update_offset's stack is 'always' set up in a way
> for i to actually represent something, which would be an.. ermm..
> intriguing way of passing data.
[...]
-- Anselm R. Garbe ><>< www.ebrag.de ><>< GPG key: 0D73F361Received on Wed Dec 21 2005 - 17:26:44 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:59:40 UTC