Description (CNA)
The LINUXTCP port of FreeModbus contains an off-by-one bounds check in xMBPortTCPPool (demo/LINUXTCP/port/porttcp.c). The check uses a strict greater-than comparison instead of greater-than-or-equal against the 263-byte MB_TCP_BUF_SIZE limit.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| cwalter-at / FreeModbus | affected 0 through * |
CWE
CWE-787
References
- https://github.com/cwalter-at/freemodbus
- https://github.com/cwalter-at/freemodbus/blob/master/demo/LINUXTCP/port/porttcp.c
ADP enrichment
No English description supplied.
No references supplied.