Access ftdi->max_packet_size after checking ftdi context != NULL
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 27 Oct 2017 15:15:27 +0000 (17:15 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 27 Oct 2017 15:15:29 +0000 (17:15 +0200)
commit5193cc2344f13828c0f280135718eb741ec85237
tree6ea4326bf5616166ab51dc6736bd610121ed0a5d
parentfd42de6914bde2916588bef3a08db3bd1302700f
Access ftdi->max_packet_size after checking ftdi context != NULL

Reported via email by Mr. Alex Tvema.
src/ftdi.c