Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 5270] diff for a new dissector for COAP (draft-ietf-core-c

Date: Mon, 4 Oct 2010 22:03:30 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5270

--- Comment #5 from Shoichi Sakane <wireshark-shoichi@xxxxxxxx> 2010-10-04 22:03:30 PDT ---
(In reply to comment #2)
> (From update of attachment 5254 [details])
> Some review comments:
> - Terminate all value_string's with { 0, NULL }
> - Use the macro MIN instead of coap_min()
> - Use proto_tree_add_item() instead of proto_tree_add_string with a
> tvb_get_ptr()
> - You should set COL_PROTOCOL and COL_INFO even when not having parent_tree in
> dissect_coap()
> - Remove debug code
> - Don't call exit() within your code

thanks for your review.  Should I resubmit another patch after I modify my code
according to your comment ?

> Can you provide a sample capture file?

Sure.

> Did you run tools/fuzz-test.sh on a coap capture file?
> Remember to set review_for_checkin on your patch.

I am going to check it by the tool later.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.