Hello everyone, Any ideas yet? I have no access to the source code right now, but I will post it tomorrow. Thank you very much. asked 12 Oct '14, 02:09 lal12 edited 12 Oct '14, 02:10 |
One Answer:
OK I found the mistake: Sadly I did not find a reason to this in the dissector readme, but maybe it is used as a NULL terminated array, which is mentioned in the readme for other cases.Additionally while you can find this NULL element in every example code, it is not written explicitly in the Readme, at least I did not find it. answered 13 Oct '14, 01:57 lal12 edited 13 Oct '14, 01:58 |
It's generally a good example to run tools/checkAPIs.pl on your dissector code: it will find all sorts of problems including un-terminated value_strings.
@lal12,
From README.
developerdissector (trunk) I haven't checked other branches:Also section 1.10 of README.
developerdissector lists CheckAPIs and other scripts to check your dissector for errors.Edit: Corrected typos
OK now I found it, but in the README.dissector and not in the README.developer. There I also found the information about the check scripts.
Oops, typos.