id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
2858	"Segfault when viewing HTML files with ""mc -v"""	Nikos Chantziaras	andrew_b	"[https://mail.gnome.org/archives/mc-devel/2012-July/msg00002.html Reported in mc-devel@ list]:
{{{
(I'm on Linux 64-bit. This happens with current Git master as well as the 4.8.4 release. 4.8.3 does not have the issue. I could not bisect the commit causing this because somewhere along the way, viewing HTML files is not possible at all.)

When viewing HTML files with ""mc -v"" (or ""mcview""), a segfault occurs. Call stack:

  name_quote (lib/util.c:256)
  expand_format (src/filemanager/usermenu.c:863)
  regex_command (src/filemanager/ext.c:177)
  view_file_at_line (src/filemanager/cmd.c:647)
  do_nc (src/filemanager/midnight.c:1006)
  main (src/main.c:567)

In name_quote(), 's' is NULL and thus a segfault occurs when dereferencing it.
}}}
"	defect	closed	major	4.8.5	mc-core	4.8.4	fixed					merged	committed-master
