doceme / py-spidev

MIT License
461 stars 203 forks source link

spidev_module: fix writebytes segfault #133

Open dlech opened 8 months ago

dlech commented 8 months ago

If the argument to writebytes was not a sequence, it would segfault because seq was being operated on without first checking for error.