[quoted lines by Mike Gorse on 2015/12/01 at 20:54 -0500] >Much larger log--probably best not to spam everyone. >http://straddlethebox.org/brltty.log
Yes, your device, for whatever reason, is indeed sending bad data. Please apply the attached patch (baum-1.patch) and send another log. -- Dave Mielke | 2213 Fox Crescent | The Bible is the very Word of God. Phone: 1-613-726-0014 | Ottawa, Ontario | http://Mielke.cc/bible/ EMail: d...@mielke.cc | Canada K2A 1H7 | http://FamilyRadio.org/
diff --git a/Drivers/Braille/Baum/braille.c b/Drivers/Braille/Baum/braille.c index a98db2b..a6b9a0d 100644 --- a/Drivers/Braille/Baum/braille.c +++ b/Drivers/Braille/Baum/braille.c @@ -1225,6 +1225,7 @@ verifyBaumPacket ( case BAUM_RSP_ModuleRegistration: case BAUM_RSP_DataRegisters: case BAUM_RSP_ServiceRegisters: + if (byte < 4) return BRL_PVR_INVALID; *length += byte; break; @@ -1488,8 +1489,9 @@ handleBaumModuleRegistrationEvent (BrailleDisplay *brl, const BaumResponsePacket if (packet->data.values.modular.data.registration.event == BAUM_MRE_Addition) { if (!writeBaumModuleRegistrationCommand(brl, moduleIdentifier, serialNumber, - BAUM_MRC_Acknowledge)) + BAUM_MRC_Acknowledge)) { return 0; + } if (bmd) { BaumModuleRegistration *bmr;
_______________________________________________ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@mielke.cc For general information, go to: http://mielke.cc/mailman/listinfo/brltty