TeamWalrus / Walrus

An Android app that lets you use your access control card cloning devices in the field.
https://walrus.app/
GNU General Public License v3.0
444 stars 65 forks source link

Device reliability testing #48

Open megabug opened 6 years ago

megabug commented 6 years ago

Try removing devices while in use, etc. Ensure things go well

megabug commented 6 years ago

Make sure timeouts are enforced/enabled in all device transactions (incl Proxmark3 read!)

dunderhay commented 6 years ago

App crashes if you remove a device during bulk read and stop bulk read action.

03-06 23:20:59.869 24383-24643/com.bugfuzz.android.projectwalrus E/AndroidRuntime: FATAL EXCEPTION: Thread-26 Process: com.bugfuzz.android.projectwalrus, PID: 24383 java.lang.NullPointerException: Attempt to invoke virtual method 'void com.felhr.usbserial.UsbSerialDevice.write(byte[])' on a null object reference at com.bugfuzz.android.projectwalrus.device.UsbSerialCardDevice.send(UsbSerialCardDevice.java:94) at com.bugfuzz.android.projectwalrus.device.proxmark3.Proxmark3Device.access$500(Proxmark3Device.java:35) at com.bugfuzz.android.projectwalrus.device.proxmark3.Proxmark3Device$1.run(Proxmark3Device.java:150) at java.lang.Thread.run(Thread.java:764)