Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at tcp_graph.c:652

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

create_drawing_area

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/tcp_graph.c)expand/collapse
Show more  
 629  static void create_drawing_area (struct graph *g)
 630  {
 631          GdkColormap *colormap;
 632          GdkColor color;
 633  #define WINDOW_TITLE_LENGTH 64
 634          char window_title[WINDOW_TITLE_LENGTH];
 635          struct segment current;
 636          struct tcpheader *thdr;
 637   
 638          debug(DBS_FENTRY) puts ("create_drawing_area()");
 639  #if 0 
 640          g->font = gdk_font_load ("-sony-fixed-medium-r-normal--16-150-75-75"
 641                                                          "-c-80-iso8859-2");
 642          g->font = gdk_font_load ("-biznet-fotinostypewriter-medium-r-normal-*-*-120"
 643                                                          "-*-*-m-*-iso8859-2");
 644  #endif
 645[+]         thdr=select_tcpip_session (&cfile, &current);
 646          g_snprintf (window_title, WINDOW_TITLE_LENGTH, "TCP Graph %d: %s %s:%d -> %s:%d",
 647                          refnum,
 648                          cf_get_display_name(&cfile),
 649                          address_to_str(&(thdr->ip_src)),
 650                          thdr->th_sport,
 651                          address_to_str(&(thdr->ip_dst)),
 652                          thdr->th_dport
Show more  




Change Warning 4555.31545 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: