Project

General

Profile

Actions

Bug #1175

closed

hammer cleanup" seg faults

Added by rumcic over 15 years ago. Updated about 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

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


Files

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

Updated by dillon over 15 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
<>
Actions

Also available in: Atom PDF