Bug #1175

hammer cleanup" seg faults

Added by rumcic about 6 years ago. Updated almost 6 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Trying to run "hammer cleanup" results in a seg fault because strstr() is
called with the first parameter set to null ... attached patch adds an arg3 !=
NULL check ... simple, but tested to work
--
Regards,
Rumko

cmd_cleanup.c.patch Magnifier (445 Bytes) rumcic, 12/07/2008 11:47 PM

History

#1 Updated by dillon about 6 years ago

:Trying to run "hammer cleanup" results in a seg fault because strstr() is
:called with the first parameter set to null ... attached patch adds an arg3 !=
:NULL check ... simple, but tested to work
:--
:Regards,
:Rumko

Thanks, I've made the change.

-Matt
Matthew Dillon
<>

Also available in: Atom PDF