[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ShopSuite-dev] fixed ShopDB::login
From: |
DAVILEAL |
Subject: |
Re: [ShopSuite-dev] fixed ShopDB::login |
Date: |
Mon, 19 Nov 2001 16:14:55 +0100 |
I will check this issue tonight and reply you tomorrow.
Davi
> login contained nasty bug: c++ string class function data() returned
> internal char *, but it didn't have to be NULL-terminated.
> It was responsible for nasty bugs like:
> Can't log in to the data base: ERROR: Missing '=' after
> so8859-14' in conninfo
>
> I changed login() to use asprintf instead of c++ string class for
> creating `char *dbstring'.
>
> this version is also smaller that previous one.