Skip to content

iwinfo {phy} assoclist will cause segfault and crash rpcd if approx 150+ clients connected to AP #15

@mrisaev

Description

@mrisaev

buffersize hardcoded in iwinfo.h
#define IWINFO_BUFSIZE 24 * 1024

in my setup size of the one item in assoclist output is around 175 Byte so:

24 x 1024 / 175 = 140 clients won't cause any problems, but when there is more, iwinfo assoclist
crashes with segfault in luci overview page and wireless page uses this function and crashes rpcd service.

'iw {phy} stations dump -v' - works fine in same conditions.

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