You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line 307 of swri_serial_util/src/serial_port.cpp gets the number of available bytes using iotctl( .. ). On failure, this outputs -1 bytes to read. This is subsequently static cast to size_t, yielding 18446744071897977696 bytes to read. The program then tries to allocate that many bytes on line 312 and runs out of memory.
The text was updated successfully, but these errors were encountered:
Line 307 of swri_serial_util/src/serial_port.cpp gets the number of available bytes using
iotctl( .. )
. On failure, this outputs -1 bytes to read. This is subsequently static cast tosize_t
, yielding 18446744071897977696 bytes to read. The program then tries to allocate that many bytes on line 312 and runs out of memory.The text was updated successfully, but these errors were encountered: