-
Notifications
You must be signed in to change notification settings - Fork 0
Description
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.