ArduinoDES icon indicating copy to clipboard operation
ArduinoDES copied to clipboard

BufferOverflow in DES.cpp

Open drmpf opened this issue 3 years ago • 0 comments

In function '__base_ctor .constprop', inlined from '__static_initialization_and_destruction_0.constprop' at C:\Users\matthew\Documents\Arduino\SenderUnoBinaryEncrypted\SenderUnoBinaryEncrypted.ino:7:5, inlined from 'global constructors keyed to 65535_0_SenderUnoBinaryEncrypted.ino.cpp.o' at C:\Users\matthew\Documents\Arduino\SenderUnoBinaryEncrypted\SenderUnoBinaryEncrypted.ino:135:1: C:\Users\matthew\Documents\Arduino\libraries\ArduinoDES-master\DES.cpp:177:9: warning: '__builtin_strcpy' writing 25 bytes into a region of size 24 overflows the destination [-Wstringop-overflow=] sprintf((char *)key,"000000000000000000000000\0"); ^

drmpf avatar Jul 09 '21 01:07 drmpf