Use of uninitialized value in addition (+) at FHEM/lib/Device/Firmata/Protocol.pm line 206.
ntruchsess opened this issue · 1 comments
ntruchsess commented
https://github.com/ntruchsess/perl-firmata/blob/master/lib/Device/Firmata/Protocol.pm#L206
....
my $bytes = ( $MIDI_DATA_SIZES->{$command} || $MIDI_DATA_SIZES->{ $buffer->[0] } ) + 1;
....
$MIDI_DATA_SIZES->{ $buffer->[0] } is uninitialized for 0xf..-values not listed in $MIDI_DATA_SIZES resulting in this error if corrupt data is received.
ntruchsess commented
outdated