Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at emem.c:1528

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

prefs_register_subtree

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/prefs.c)expand/collapse
Show more  
 147  module_t *
 148  prefs_register_subtree(module_t *parent, const char *title, const char *description)
 149  {
 150          return prefs_register_module_or_subtree(parent, NULL, title, description, TRUE,
 151[+]             NULL);
expand/collapse

prefs_register_module_or_subtree

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/prefs.c)expand/collapse
Show more  
 154  static module_t *
 155  prefs_register_module_or_subtree(module_t *parent, const char *name,
 156      const char *title, const char *description, gboolean is_subtree, void (*apply_cb)(void))
 157  {
 158          module_t *module;
 159          const char *p;
 160          guchar c;
 161   
 162          /* this module may have been created as a subtree item previously */
 163[+]         if((module = find_subtree(parent, title))) {
 164            /* the module is currently a subtree */
 165            module->name = name;
 166            module->apply_cb = apply_cb;
 167            module->description = description;
 168   
 169[+]           if (prefs_find_module(name) == NULL) {
expand/collapse

prefs_find_module

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/prefs.c)expand/collapse
Show more  
 359  module_t *
 360  prefs_find_module(const char *name)
 361  {
 362[+]         return pe_tree_lookup_string(prefs_modules, name, EMEM_TREE_STRING_NOCASE);
expand/collapse

emem_tree_lookup_string

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/emem.c)expand/collapse
Show more  
 1523  void *
 1524  emem_tree_lookup_string(emem_tree_t* se_tree, const gchar* k, guint32 flags)
 1525  {
 1526          emem_tree_key_t key[2];
 1527          guint32 *aligned=NULL;
 1528          guint32 len = (guint) strlen(k);
Show more  
Show more  
Show more  
Show more  




Change Warning 1191.30805 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: