diff options
author | Evan Huus <eapache@gmail.com> | 2013-10-22 16:02:13 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-10-22 16:02:13 +0000 |
commit | 5b9ec08eaea79d10311bbea8026d491719d6f27c (patch) | |
tree | 53592009b8fcc1d452168add4324b08354180c39 /epan/dissectors/packet-asterix.c | |
parent | 27d15390ccdd853f9b488827e9c214cf753644b5 (diff) |
Optimization: in test_length there's no need to validate that the count value
for FT_UINT_STRINGs and FT_UINT_BYTEs is still in the TVB. Any infinite loop
that adds a counted field ought to be extracting the length for its own offset
anyways, in which case it will overflow on the next iteration and won't actually
loop forever.
svn path=/trunk/; revision=52766
Diffstat (limited to 'epan/dissectors/packet-asterix.c')
0 files changed, 0 insertions, 0 deletions