wireshark/plugins
Martin Kaiser 2da35bce9a profinet, CID 1362120: check the return value of ftell()
change filePosRecord's data type to long, this is what ftell() and
fseek() expect

limit filePosRecord's scope to the block where it's actually used

if ftell() returns < 0, don't move the file pointer and don't call
fseek() with the negative offset

Change-Id: If5a43099c32e476a691f4d6cd26ed7fb73490fcf
Reviewed-on: https://code.wireshark.org/review/16258
Petri-Dish: Martin Kaiser <wireshark@kaiser.cx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-07-03 14:20:46 +00:00
..
docsis DOCSIS: Update to Type 35 UCD 2016-07-03 02:41:07 +00:00
easy_codec Remove Makefile.common files 2016-06-30 11:04:17 +00:00
ethercat Remove Makefile.common files 2016-06-30 11:04:17 +00:00
gryphon Remove Makefile.common files 2016-06-30 11:04:17 +00:00
irda Remove Makefile.common files 2016-06-30 11:04:17 +00:00
m2m Remove Makefile.common files 2016-06-30 11:04:17 +00:00
mate Remove Makefile.common files 2016-06-30 11:04:17 +00:00
opcua Remove Makefile.common files 2016-06-30 11:04:17 +00:00
profinet profinet, CID 1362120: check the return value of ftell() 2016-07-03 14:20:46 +00:00
stats_tree Remove Makefile.common files 2016-06-30 11:04:17 +00:00
tpg Remove Makefile.common files 2016-06-30 11:04:17 +00:00
unistim Remove Makefile.common files 2016-06-30 11:04:17 +00:00
wimax Remove Makefile.common files 2016-06-30 11:04:17 +00:00
wimaxasncp Remove Makefile.common files 2016-06-30 11:04:17 +00:00
wimaxmacphy Remove Makefile.common files 2016-06-30 11:04:17 +00:00
Custom.m4.example Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
Custom.make.example Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
Makefile.am Remove Makefile.common files 2016-06-30 11:04:17 +00:00
Makefile.am.inc Remove Makefile.common files 2016-06-30 11:04:17 +00:00