freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] Way to get connection params on failure?
- From: Marc Abramowitz <msabramo AT gmail.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Way to get connection params on failure?
- Date: Mon, 6 Jan 2014 11:08:10 -0800
On Sun, Jan 5, 2014 at 11:32 AM, Frediano Ziglio <freddy77 AT gmail.com> wrote:
> The problem of your implementation is that TDSECONN is passed by
> libTDS and not all libraries add the required parameter so you can
> have a not formatted string in other libraries.
>
> Mixing normal string and string with format looks a bit security suspect
> to me.
>
Yeah, that smelled a little funny to me too.
I updated my PR so that dbperror itself appends the server_name, if
available, to the error message. So no need to pass it into dbperror.
https://gitorious.org/freetds/freetds/merge_requests/24/diffs
Hopefully, that's better.
Marc
-
[freetds] Way to get connection params on failure?,
Marc Abramowitz, 01/02/2014
-
Re: [freetds] Way to get connection params on failure?,
Marc Abramowitz, 01/04/2014
-
Re: [freetds] Way to get connection params on failure?,
Frediano Ziglio, 01/05/2014
- Re: [freetds] Way to get connection params on failure?, Marc Abramowitz, 01/06/2014
-
Re: [freetds] Way to get connection params on failure?,
Frediano Ziglio, 01/05/2014
-
Re: [freetds] Way to get connection params on failure?,
Marc Abramowitz, 01/06/2014
-
Re: [freetds] Way to get connection params on failure?,
Frediano Ziglio, 01/09/2014
-
Re: [freetds] Way to get connection params on failure?,
Marc Abramowitz, 01/10/2014
-
Re: [freetds] Way to get connection params on failure?,
Frediano Ziglio, 01/13/2014
- Re: [freetds] Way to get connection params on failure?, Marc Abramowitz, 01/18/2014
- Re: [freetds] Way to get connection params on failure?, Frediano Ziglio, 01/18/2014
- Re: [freetds] Way to get connection params on failure?, Marc Abramowitz, 01/18/2014
-
Re: [freetds] Way to get connection params on failure?,
Frediano Ziglio, 01/13/2014
-
Re: [freetds] Way to get connection params on failure?,
Marc Abramowitz, 01/10/2014
-
Re: [freetds] Way to get connection params on failure?,
Frediano Ziglio, 01/09/2014
-
Re: [freetds] Way to get connection params on failure?,
Marc Abramowitz, 01/06/2014
-
Re: [freetds] Way to get connection params on failure?,
Frediano Ziglio, 01/05/2014
-
Re: [freetds] Way to get connection params on failure?,
Marc Abramowitz, 01/04/2014
Archive powered by MHonArc 2.6.24.