[asterisk-bugs] [Asterisk 0011739]: Not possible to pass a NULL user or Password into SQLConnect
noreply at bugs.digium.com
noreply at bugs.digium.com
Fri Jan 11 06:07:22 CST 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=11739
======================================================================
Reported By: lurcher
Assigned To: Corydon76
======================================================================
Project: Asterisk
Issue ID: 11739
Category: Resources/res_odbc
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: 1.4.20
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 91131
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 01-11-2008 05:52 CST
Last Modified: 01-11-2008 06:07 CST
======================================================================
Summary: Not possible to pass a NULL user or Password into
SQLConnect
Description:
The way the code extracts the username and password from the res_odbc.ini
config file, means that if a username is not specified, with the intention
of the driver using a default value specified in the driver manager
odbc.ini dsn. The username member is set to a empty string. When the empty
string is passed into SQLConnect the fact that its empty and not NULL,
means the driver is required to use a empty string as the user name, and
not look for a default.
======================================================================
----------------------------------------------------------------------
lurcher - 01-11-08 06:07
----------------------------------------------------------------------
Woops, there was a silly bug in the first patch, another uploaded
Issue History
Date Modified Username Field Change
======================================================================
01-11-08 06:07 lurcher Note Added: 0076706
======================================================================
More information about the asterisk-bugs
mailing list