Re: cygrunsrv CWE-428

James Warnock via Cygwin <[email protected]> Tue, 21 Apr 2026 14:05:33 -0600
Newsgroups gmane.os.cygwin
Message-ID <[email protected]>
> [Also just FYI: This mailing list prefers inline quoting rather than
> top-posting]
Thank you for this. This is my first time using a mailing list and I'm
still trying to figure things out. Hopefully this works better.

> The real issue, I think, is whether the string that is quoting the
> executable fits in MAX_PATH.
>
> The quotation marks are there for the parser; they are not part of the file
> name itself. (Another way to say this: Command lines need to be quoted;
> paths don't[1].)
>
> The registry value for a service command is a command line, not a filename
> path.

That makes a lot of sense. I'll take another stab at the patch with that in mind.
Is this the right mailing list to send that patch to?

Also, can anyone point me to some instructions on how to make the remote service
install work? I'd like to test that as well to make sure there aren't any
problems there. I did try just giving it a <remote host>/<service name> but that
didn't work. There's probably some communication channel that must be configured
beforehand that I'm missing.

Thanks,
James




-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple