Skip to content

Mamaduck errors/reboots after trying to send a message over 100,000 characters. #2

@faradaym

Description

@faradaym

Describe the bug
When testing the mamaduck's handling of random inputs/ excessive data, it was found that trying to send a message over 100,000 characters long causes the mamaduck to error and reboot. The error message seen is "Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled." This error is most likely caused by a null pointer or stack overflow.

To reproduce
Steps to reproduce the behavior:
Try sending a message longer than 100,000 characters, either through the captive portal or the formSubmit URL. The error is printed out in the serial monitor if you are connected to the duck. For more information on how to recreate this bug using software check out this security analysis paper our Cal Poly capstone group created for the CDP.

Expected behavior
The mamaduck should be able to correctly handle this amount of data even if it is not able to send the message, it should not cause the duck to crash and reboot.

original issue reference

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