alexeden / rpi-led-matrix

Node.js/Typescript bindings for the Raspberry Pi LED Matrix library (https://github.com/hzeller/rpi-rgb-led-matrix)
146 stars 26 forks source link

Buffer overflow when using #40

Open MonsteRico opened 4 months ago

MonsteRico commented 4 months ago

I am getting a buffer overflow detected no matter how little I am using the package. Instantiating the matrix alone will cause it. Occurs in my own code and in the examples.

WeybridgeInc commented 3 months ago

Hi @MonsteRico, I have the same problem... Have you managed to figure it out?

Thanks,

MonsteRico commented 3 months ago

No. Still no clue what's going on.

MonsteRico commented 3 months ago

Hi @MonsteRico, I have the same problem... Have you managed to figure it out?

Thanks,

I made a PR to fix it, in one of the files I just added +1's when it copies some strings. No more overflow. If you understand any C++ though its worth looking into another issue, I can't get any text drawing to work properly