TAMCTec / gt911-arduino

Arduino library for GT911
Apache License 2.0
40 stars 12 forks source link

I2C Buffer overflow #13

Open tshcherban opened 2 months ago

tshcherban commented 2 months ago

There is an error within the library. A Wire.setBufferSize(185); with a value of 185 or more should be called, otherwise it reads 185 bytes into 128 byte array pointer (at least ESP32 has 128 default Wire buffer size) and god knows what/where/when the mem is screwed up.