[DGD] Possible KernalLib Bug.

Felix A. Croes felix at dworkin.nl
Tue Mar 23 12:34:27 CET 2004


Steven Brooker <immortius at yahoo.com> wrote:

> While mucking around building a Mudlib ontop of the
> kernel lib, I believe I have discovered a bug in the
> experimental branch of DGD (v1.2.86).
>
> As soon as you create and set an objectd, all files
> outside of /kernel/ and /usr/System/ will not compile
> - the error is "Runtime error: Bad argument 1 for kfun
> sscanf [caught]".  A bit of investigation shows that
> this is caused when the objectd's path_special()
> function returns nil - after the driver calls
> path_special(), it calls access() in Kernel's accessd,
> tring to see if the compiling file has access to the
> path returned by path_special().  access() then
> immediately tries to sscanf the nil value and causes
> the Runtime error.

path_special() is supposed to return a valid path, not nil.  But I
admit that the errormessage could be more specific. :)

Regards,
Dworkin
_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list