Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at font_utils.c:223

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

font_zoom

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/font_utils.c)expand/collapse
Show more  
 203  static char *
 204  font_zoom(char *gui_font_name)
 205  {
 206      char *new_font_name;
 207      char *font_name_dup;
 208      char *font_name_p;
 209      long font_point_size_l;
 210   
 211      if (recent.gui_zoom_level == 0) {
 212          /* There is no zoom factor - just return the name, so that if 
 213             this is GTK+ 1.2[.x] and the font name isn't an XLFD font 
 214             name, we don't fail. */
 215          return g_strdup(gui_font_name);
 216      }
 217   
 218      font_name_dup = g_strdup(gui_font_name);
 219      font_name_p = font_name_dup;
 220   
 221      /* find the start of the font_size string */
 222      font_name_p = strrchr(font_name_dup, ' ');
 223      *font_name_p = '\0';
Show more  




Change Warning 4095.29747 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: