]> sigrok.org Git - libsigrok.git/commit
Quickfix for a segfault with file input via -i.
authorUwe Hermann <redacted>
Sun, 13 Feb 2011 10:27:52 +0000 (11:27 +0100)
committerUwe Hermann <redacted>
Sun, 13 Feb 2011 10:27:52 +0000 (11:27 +0100)
commit218557b85a308adc6ac533eb3f33d3dee17c13f8
treef91618be92fe331a332259031cd96ca9c0feb571
parent305bde4d42ac801312743cc05671de214f6501fd
Quickfix for a segfault with file input via -i.

Stuff like

  ./bin/sigrok-cli -i rnd.dd -a transitioncounter

would segfault (rnd.dd consists of random bytes) because device->plugin
was NULL and was being dereferenced.

Thanks Olivier Fauchon <redacted> for reporting.
device.c