Commit e86d9e52075e2edd37fe497b0d11a2df3fd1df31
authorMichel Pollet <buserror@gmail.com>
Thu, 9 Apr 2015 20:27:56 +0000 (21:27 +0100)
committerMichel Pollet <buserror@gmail.com>
Thu, 9 Apr 2015 20:27:56 +0000 (21:27 +0100)
treee930c4bbc3399728da14590ab85530a752f9e084
parent0f6f5c45078ead21ae142b034f09f1efaee37817
Message:
ioport: Don't deref NULL on bad param

that ioctl requires a parameter, but doesn't check it. Static analyzer
doesn't like that at all.

Signed-off-by: Michel Pollet <buserror@gmail.com>
simavr/sim/avr_ioport.c