Skip to content

BUG: too small string size #113

@shentino

Description

@shentino

May 4 17:15:55 ** error:String too long [caught]
error: /usr/System/sys/tool/vault
error: 732 - work
error: 202 - spawn_object_from_state
error:1115 /kernel/lib/auto read_file
May 4 17:15:55 ** Error spawning Bodies:UrMainbody
May 4 17:15:56 ** error:String too long [caught]
error: /usr/System/sys/tool/vault
error: 732 - work
error: 202 - spawn_object_from_state
error:1115 /kernel/lib/auto read_file
May 4 17:15:56 ** Error spawning Data:DB:mhelp
May 4 17:15:56 ** error:String too long [caught]
error: /usr/System/sys/tool/vault
error: 732 - work
error: 202 - spawn_object_from_state
error:1115 /kernel/lib/auto read_file

I'm almost certain this is due to failure to use a sufficiently large maximum string size in the DGD binary.

Suggested solution is a subroutine invoked by INITD->create() that will abort the startup process if certain configuration or status() values fail a sanity check.

I suggest checking max array size and max string size for starters.

I can come up with a patch for this myself if needed but atm the priority is to report the issue. I have higher priorities to deal with irl atm so for now a report will have to suffice until I can get more free time unless someone else wants to take care of this first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions