Closed cschol closed 2 years ago
Thanks for pointing this out, The Windows based compilation did not issue any warning, but I could reproduce the problem under Linux. The issue should be fixed in the latest commit to v1. Indeed the code has changed in v2. I will later send the library update requests for both versions.
Confirmed fixed in v1
. Thank you!
This is an issue on
v1
of the plugin.The compiler shows the following warning:
When I run Rack in development mode (with
make run
) and addCloner
it will crash with a buffer overflow. This does not happen when I use official Rack version 1.1.6 and the Library module, but I think that might only be working by accident (or just not halting the application due to buffer overflow in non-debug mode).The fix is easy: just increase the display character array by 1 to size 3. Looks like
v2
already has a refactored version of this code.Note, that
v1
updates will continue to be accepted.