fixed usage of uninitialized member and heap-buffer-overflow in cosmac_device (nw)