Buffer overflow error in IMEI string
mikalhart opened this issue · 1 comments
mikalhart commented
-
Arduino board: ANY
-
Arduino IDE version (found in Arduino -> About Arduino menu): ALL
-
List the steps to reproduce the problem below (if possible attach a sketch or
copy the sketch code in too): Bug found in code inspection.
Here's an amusing bug in FONATest, line 89, given the comment
char imei[15] = {0}; // MUST use a 16 character buffer for IMEI!
should of course be
char imei[16] = {0}; // MUST use a 16 character buffer for IMEI!
Thanks for this library and the examples! Very useful!
Mikal
ladyada commented
ok!