libmb 1.6

Andreas Gunnarsson <[email protected]> Tue, 29 Mar 2005 00:38:24 +0200
Newsgroups gmane.comp.handhelds.matchbox
Message-ID <[email protected]>
Hello,

I'm looking for a window manager for a Zaurus SL-C3000 running OpenBSD,
and matchbox seems interesting so I'll try to make a port when I find
the time.  Has anyone else already done that?

When trying to compile libmb for OpenBSD I have noticed two problems:

mbutil.c includes alloca.h which isn't present; stdlib.h is all that's
needed.  It seems like configure should check for this, but the result
is never used.

On line 64 in mbdotdesktop.c the sscanf can overflow new_key and locale
since the terminating NUL character can cause the result to be 65 and 17
characters while key are defined as 64 and 16.

Regards,
   Andreas