Fix cbuf running out of bounds (#348)
Fix cbuf running out of bounds (#348)

quertenmont/Arduino,wemos/Arduino,CanTireInnovations/Arduino,Adam5Wu/Arduino,jes/Arduino,hallard/Arduino,Cloudino/Cloudino-Arduino-IDE,CanTireInnovations/Arduino,me-no-dev/Arduino,toastedcode/esp8266-Arduino,hallard/Arduino,martinayotte/ESP8266-Arduino,NullMedia/Arduino,Cloudino/Cloudino-Arduino-IDE,quertenmont/Arduino,CanTireInnovations/Arduino,quertenmont/Arduino,edog1973/Arduino,esp8266/Arduino,me-no-dev/Arduino,gguuss/Arduino,Juppit/Arduino,sticilface/Arduino,CanTireInnovations/Arduino,gguuss/Arduino,wemos/Arduino,martinayotte/ESP8266-Arduino,Cloudino/Cloudino-Arduino-IDE,sticilface/Arduino,Adam5Wu/Arduino,martinayotte/ESP8266-Arduino,Cloudino/Cloudino-Arduino-IDE,jes/Arduino,Cloudino/Arduino,esp8266/Arduino,hallard/Arduino,NextDevBoard/Arduino,Adam5Wu/Arduino,chrisfraser/Arduino,lrmoreno007/Arduino,esp8266/Arduino,lrmoreno007/Arduino,lrmoreno007/Arduino,Juppit/Arduino,chrisfraser/Arduino,esp8266/Arduino,me-no-dev/Arduino,NextDevBoard/Arduino,Cloudino/Cloudino-Arduino-IDE,edog1973/Arduino,Lan-Hekary/Arduino,Cloudino/Arduino,CanTireInnovations/Arduino,toastedcode/esp8266-Arduino,lrmoreno007/Arduino,chrisfraser/Arduino,edog1973/Arduino,Links2004/Arduino,KaloNK/Arduino,sticilface/Arduino,Lan-Hekary/Arduino,Links2004/Arduino,Cloudino/Arduino,Cloudino/Arduino,martinayotte/ESP8266-Arduino,NextDevBoard/Arduino,me-no-dev/Arduino,sticilface/Arduino,NullMedia/Arduino,chrisfraser/Arduino,quertenmont/Arduino,KaloNK/Arduino,KaloNK/Arduino,gguuss/Arduino,sticilface/Arduino,Juppit/Arduino,quertenmont/Arduino,jes/Arduino,Lan-Hekary/Arduino,Cloudino/Arduino,toastedcode/esp8266-Arduino,toastedcode/esp8266-Arduino,esp8266/Arduino,wemos/Arduino,toastedcode/esp8266-Arduino,Cloudino/Cloudino-Arduino-IDE,Juppit/Arduino,NextDevBoard/Arduino,Cloudino/Arduino,NullMedia/Arduino,Links2004/Arduino,CanTireInnovations/Arduino,gguuss/Arduino,Adam5Wu/Arduino,Lan-Hekary/Arduino,wemos/Arduino,jes/Arduino,martinayotte/ESP8266-Arduino,chrisfraser/Arduino,hallard/Arduino,Links2004/Arduino,me-no-dev/Arduino,Links2004/Arduino,KaloNK/Arduino,NullMedia/Arduino,Lan-Hekary/Arduino,edog1973/Arduino,edog1973/Arduino,lrmoreno007/Arduino,gguuss/Arduino,Cloudino/Cloudino-Arduino-IDE,Adam5Wu/Arduino,jes/Arduino,NextDevBoard/Arduino,Cloudino/Arduino,CanTireInnovations/Arduino,wemos/Arduino,NullMedia/Arduino,KaloNK/Arduino,hallard/Arduino,Juppit/Arduino