diff options
author | Martin Kaiser <wireshark@kaiser.cx> | 2016-01-17 17:03:50 +0100 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-01-17 19:05:30 +0000 |
commit | 96d585a5e9baef21e1eea8505d78305b034dc80e (patch) | |
tree | 6ce7bdc1cb270b162caf7947ce04f09cec8d186a /asn1/lpp/LPP.asn | |
parent | 8a0966c434231e515bc8c5e2130b8a7d8121b37f (diff) |
[iseries] fix iseries_check_file_type()
check that we have a line that contains OBJECT PROTOCOL ETHERNET
(at the moment, we fail if there's a line containing OBJECT PROTOCOL but
not ETHERNET and succeed otherwise
-> a file with some random lines will be identified as iseries)
initialize our line buffer with 0s to make sure we don't access uninitialized
data while parsing
don't set wth->priv unless the file is really an iseries file
free the iseries struct if the file is not our type
Bug: 11985
Change-Id: I0ac7003c047f54ca025d02e59b56d1ff4e2a6be7
Reviewed-on: https://code.wireshark.org/review/13360
Petri-Dish: Martin Kaiser <wireshark@kaiser.cx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'asn1/lpp/LPP.asn')
0 files changed, 0 insertions, 0 deletions