all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Problem report #18
@ 2006-04-10 18:59 Dan Nicolaescu
  2006-04-10 20:04 ` Stuart D. Herring
  2006-04-11  6:58 ` Problem report #18 PENDING Jan D.
  0 siblings, 2 replies; 8+ messages in thread
From: Dan Nicolaescu @ 2006-04-10 18:59 UTC (permalink / raw)


CID: 18
Checker: FORWARD_NULL (help)
File: emacs/src/xmenu.c
Function: digest_single_submenu
Description: Variable "save_wv" tracked as NULL was dereferenced.

Event assign_zero: Variable "prev_wv" assigned value 0.
Also see events: [alias_transfer][var_deref_op]

1815 		  prev_wv = 0;
1816 		  i += MENU_ITEMS_PANE_LENGTH;
1817 		}
1818 	      else
1819 		{
1820 		  /* Create a new item within current pane.  */
1821 		  Lisp_Object item_name, enable, descrip, def, type, selected;
1822 		  Lisp_Object help;
1823 	
1824 		  item_name = AREF (menu_items, i + MENU_ITEMS_ITEM_NAME);
1825 		  enable = AREF (menu_items, i + MENU_ITEMS_ITEM_ENABLE);
1826 		  descrip = AREF (menu_items, i + MENU_ITEMS_ITEM_EQUIV_KEY);
1827 		  def = AREF (menu_items, i + MENU_ITEMS_ITEM_DEFINITION);
1828 		  type = AREF (menu_items, i + MENU_ITEMS_ITEM_TYPE);
1829 		  selected = AREF (menu_items, i + MENU_ITEMS_ITEM_SELECTED);
1830 		  help = AREF (menu_items, i + MENU_ITEMS_ITEM_HELP);
1831 	
1832 	#ifndef HAVE_MULTILINGUAL_MENU

At conditional (9): "((0), (item_name & -8))->size_byte >= 0" taking true path

1833 	          if (STRING_MULTIBYTE (item_name))
1834 		    {

At conditional (10): "Vlocale_coding_system != Qnil" taking true path
At conditional (11): "Vlocale_coding_system != 0" taking true path

1835 		      item_name = ENCODE_MENU_STRING (item_name);
1836 		      AREF (menu_items, i + MENU_ITEMS_ITEM_NAME) = item_name;
1837 		    }
1838 	

At conditional (12): "descrip & 7 == 3" taking true path
At conditional (13): "((0), (descrip & -8))->size_byte >= 0" taking true path

1839 	          if (STRINGP (descrip) && STRING_MULTIBYTE (descrip))
1840 		    {

At conditional (14): "Vlocale_coding_system != Qnil" taking true path
At conditional (15): "Vlocale_coding_system != 0" taking true path

1841 		      descrip = ENCODE_MENU_STRING (descrip);
1842 		      AREF (menu_items, i + MENU_ITEMS_ITEM_EQUIV_KEY) = descrip;
1843 		    }
1844 	#endif /* not HAVE_MULTILINGUAL_MENU */
1845 	
1846 		  wv = xmalloc_widget_value ();

At conditional (16): "prev_wv != 0" taking false path

1847 		  if (prev_wv)
1848 		    prev_wv->next = wv;
1849 		  else

Event var_deref_op: Variable "save_wv" tracked as NULL was dereferenced.
Also see events: [assign_zero][alias_transfer]

1850 		    save_wv->contents = wv;
1851 	
1852 		  wv->lname = item_name;

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-05-14 11:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-10 18:59 Problem report #18 Dan Nicolaescu
2006-04-10 20:04 ` Stuart D. Herring
2006-04-11  6:58 ` Problem report #18 PENDING Jan D.
2006-04-11  8:33   ` Sascha Wilde
2006-05-13 19:01   ` Dan Nicolaescu
2006-05-13 19:58     ` Jan D.
2006-05-13 20:21       ` Dan Nicolaescu
2006-05-14 11:20         ` Jan D.

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.