EIPStackGroup / EIPStackGroup/OpENer
g_message_data_reply_buffer buffer overflow
Open
bug
- Dominant language
- C
- Stars
- 857
- Forks
- 314
- Avg merge
- 18d 2h
- Merged PRs (30d)
- 1
Description
Just thought I'd share one of the problem I encountered.
I was having a Hard Fault on my device whenever I try the Get_Attribute_All on 0xF6 Ethernet Link with EtherNet/IP Tools from Molex. Turns out that the ` g_message_data_reply_buffer ` used by `NotifyMessageRouter()` was overflowing. It was sized 100 by default from the sample opener_user_conf.h on MINGW.
Increasing the buffer size fixed the hard fault problem. I think it'd be great if we knew the minimum buffer size needed.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.