doceme / py-spidev

MIT License
451 stars 203 forks source link

spidev_module: fix writebytes segfault #133

Open dlech opened 4 months ago

dlech commented 4 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.