Skip to content

Invalid pointer reference in command list #76

@antony-rheneus

Description

@antony-rheneus

"clrstsvlanintf", STP_CTL_CLEAR_VLAN_INTF,

defined list of CLI commands CMD_LIST g_cmd_list[] max is lesser than STP_CTL_MAX.
Missing commands are
STP_CTL_DUMP_MST,
STP_CTL_DUMP_MST_PORT,
Because of that invalid memory is accessed.

$ stpctl help
stpctl help
stpctl all
stpctl global
stpctl vlan
stpctl port
stpctl dbglvl
stpctl nldb
stpctl nlintf
stpctl lstats
stpctl dbg
stpctl clrstsall
stpctl clrstsvlan
stpctl clrstsintf
stpctl clrstsvlanintf
stpctl `w«k <<< Invalid memoryaccess
stpctl <<< Invalid memoryaccess
stpctl

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions