Wireshark mailing list archives
Re: [Wireshark-dev] Familiar with gtk/sctp_graph_dlg.c?
From: Chris Maynard <chris.maynard () gtech com>
Date: Mon, 25 Apr 2011 21:50:38 +0000 (UTC)
Stephen Fisher <steve@...> writes:
Anyone familiar with gtk/sctp_graph_dlg.c? This line in particular (#270): dup_list = (guint32 *)(((char
*)&sack_header->nr_of_dups)+sizeof(guint16)+(nr*sizeof(struct
gaps))); I'm trying to investigate a clang error about this increasing required alignment from 1 to 4 and the complexity of that line is making my brain hurt :)
Ouch! I haven't spent a ton of time looking at this, but I don't understand it either. Maybe the authors - Irene and/or Varun - could be of help? By the way, while looking around a bit, I think I found a memory leak at line 1555: 1555: u_data->assoc=g_malloc(sizeof(sctp_assoc_info_t)); 1556: u_data->assoc=userdata->assoc; I assume line 1555 should be deleted? ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Familiar with gtk/sctp_graph_dlg.c? Stephen Fisher (Apr 25)
- Re: [Wireshark-dev] Familiar with gtk/sctp_graph_dlg.c? Chris Maynard (Apr 25)
- Re: Familiar with gtk/sctp_graph_dlg.c? Michael Tüxen (Apr 25)
- Re: Familiar with gtk/sctp_graph_dlg.c? Michael Tüxen (Apr 25)
- Re: Familiar with gtk/sctp_graph_dlg.c? Guy Harris (Apr 25)
- Re: Familiar with gtk/sctp_graph_dlg.c? Michael Tüxen (Apr 26)
- Re: [Wireshark-dev] Familiar with gtk/sctp_graph_dlg.c? Christopher Maynard (Apr 26)
- Re: Familiar with gtk/sctp_graph_dlg.c? Guy Harris (Apr 26)
- Re: Familiar with gtk/sctp_graph_dlg.c? Michael Tüxen (Apr 26)
- Re: Familiar with gtk/sctp_graph_dlg.c? Guy Harris (Apr 25)
- Re: [Wireshark-dev] Familiar with gtk/sctp_graph_dlg.c? Chris Maynard (Apr 25)
- Re: Familiar with gtk/sctp_graph_dlg.c? Michael Tüxen (Apr 26)
- Re: [Wireshark-dev] Familiar with gtk/sctp_graph_dlg.c? Chris Maynard (Apr 26)