[ros-bugs] [Bug 5611] New: PATCH: Prevent crash command-line Service Control due to missing arguments
ReactOS.Bugzilla at reactos.org
ReactOS.Bugzilla at reactos.org
Mon Sep 13 20:57:51 UTC 2010
http://www.reactos.org/bugzilla/show_bug.cgi?id=5611
Summary: PATCH: Prevent crash command-line Service Control due to
missing arguments
Product: ReactOS
Version: TRUNK
Platform: x86 Hardware
OS/Version: ReactOS
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: Patches
AssignedTo: ros-bugs at reactos.org
ReportedBy: roelmessiant at gmail.com
Created an attachment (id=5307)
--> (http://www.reactos.org/bugzilla/attachment.cgi?id=5307)
Initial sc patch.
In a console, running sc with some operations without arguments crashes.
Causes are accesses to arguments without checking the argument count.
To reproduce:
start cmd, use one of the following commands as-is:
sc start
sc pause
sc interrogate
sc stop
sc continue
sc delete
sc create
sc control
sc control foo
Extra changes piggybacking along in this patch:
- provide usage information for the control command
- provide usage information when an unknown command gets used
--
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Ros-bugs
mailing list