Skip to content

scan_mac_cmds doesn't handle erroneous MAC commands #485

Closed
@terrillmoore

Description

@terrillmoore

I'm wondering why 0 is returned in the error case, because in scan_mac_cmds I see no check except for line 887, which doesn't do what the comment says.

int const cmdlen = getMacCmdSize(cmd);
if (cmdlen > olen - oidx) {

Originally posted by @sualko in #481

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions