bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #27328] find-4.5.5 -exec + segfaults in quotearg_buffer_restyled()


From: James Youngman
Subject: [bug #27328] find-4.5.5 -exec + segfaults in quotearg_buffer_restyled()
Date: Wed, 11 Nov 2009 23:41:01 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.15) Gecko/2009102814 Iceweasel/3.0.6 (Debian-3.0.6-3)

Follow-up Comment #1, bug #27328 (project findutils):

The immediate problem is these lines:

   1992   /* In parent; set up for next time. */
   1993   bc_clear_args(ctl, buildstate);

The effect of this is that this code...

   2007   if (WIFSIGNALED (wait_status))
   2008     {
   2009       error (0, 0, _("%s terminated by signal %d"),
   2010              quotearg_n_style(0, options.err_quoting_style,
   2011                               buildstate->cmd_argv[0]),
   2012              WTERMSIG (wait_status));

... causes a SIGSEGV since buildstate->cmd_argv[0] is NULL.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27328>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]