[fabbione/kronosnet] 11e47f: Fix buffer overflow in sending data