X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=jOcu/5by+rU7SAs5
	wq2GIQrBVEu+Yq1DVcQDOV7aVn5bx0nVAjkJnd/OW1pnrJzILwB2U65o2OZvRT4/
	P1mE5f62Kmui7j/uNSdRvwsQy5woOZB7ktsu9SxU4MhHm/k5NK8S0bkobG3sJZfx
	4CrkBT7/3H0qAtifwVzR1GCJpr4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=N6E1910LkVPkXosDw+C9A5
	QsKOI=; b=WIS++AxLFEr1khQuHNniYKH1J8g8pJfuVdTKeWxkGIwI6eSk1zgeUJ
	EITwT7eSzExK7C3EgFuz2fEkAUcSwLyCtVt5xV+t9A9qE197wKl1cBykGcEcaRyq
	1ohil0iqDEa2iTV0oeH7Oa12tbvkDpiLmBbyLm4Z1ie+JGrxN1ZKs=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtpback.ht-systems.ru
Date: Tue, 25 Mar 2014 15:40:23 +0400
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <581372548.20140325154023@yandex.ru>
To: "Chris J. Breisch" <chris.ml@breisch.org>, cygwin@cygwin.com
Subject: Re: SQL server utility not working when invoked(from a asp.net application) using cygwin
In-Reply-To: <53307C7F.7030600@breisch.org>
References: <CAN=kAG7tkCxitPj+5k+otz+Sugyjep-KgJ=sq+oyTYquSdaMRQ@mail.gmail.com> <532F2E28.8020406@breisch.org> <533079D8.3000703@breisch.org> <53307C7F.7030600@breisch.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, Chris J. Breisch!

>> Without additional details on what is or isn't happening, this is as
>> much assistance as I can provide.
>>

> I lied. I had one more thought.

> Your username, password, database name, sql server name don't contain 
> characters that are special to bash, do they? Of the four, password is 
> the most likely.

_dosOutput is a more likely offender.
Because of backslashes. Since it's unquoted.

> But a password might contain any of ~!@#$%^&*()+`-{}[]|\:";'<>,.?/ or 
> even <space>

> Any of those could cause problems in your script if they're not properly 
> quoted/escaped.

> Hoping the filter doesn't eat this because of use of the p-word.



--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 25.03.2014, <15:39>

Sorry for my terrible english...


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

