Too big number in websocket request crusher sc-server
kilativ-dotcom opened this issue · 0 comments
kilativ-dotcom commented
Describe the bug
If request contains 9999999999 then sc-server fails during request processing.
To Reproduce
Steps to reproduce the behavior:
- Start sc-server
- Send websocket request like
{"id": 1, "type": "check_elements", "payload": [999999999]}
- Response arrives
- Send websocket request like
{"id": 1, "type": "check_elements", "payload": [9999999999]}
- Segmentation fault happens
Expected behavior
Some response arrives.
Desktop (please complete the following information):
- OS: Ubuntu 22.04
- Version: main at bcd0560