NGCP / xbeeplus

Cross-Platform C++11 Xbee Radio API
3 stars 0 forks source link

Buffer overflow fix #26

Closed maxwey closed 6 years ago

maxwey commented 6 years ago

Fixed an issue where the character buffer was either larger than necessary, or too small (potentially causing buffer overflows).

KarthikJay commented 6 years ago

Wow, thanks for spotting this!

This pretty much covers the case as to why all those segmentation faults that were occurring before. I'll try to template the function, but for now I'll approve the current fixes.