
If you were logged in you would be able to see more operations.
|
|
|
SF_ID: |
545725
|
QA Status: |
Cannot be tested
|
SFID: 545725#
Submitted By: alexpeshkoff
When automatic Sweep runs, server hangs in
isc_database_info on isc_info_user_names sub-function.
OS - Windows NT/2000. Possibly any SUPERSERVER version.
FireBird - Rc2, Release. Possibly bug was present in
earlier versions, too.
In inf.c, near line 573, field usr_user_name is used
as parameter in strlen() without check, whether it
NULL or not. In normal attacment, it never may be 0.
But automatic Sweep (maybe something else, but Sweep
definitely) creates special attachment with
attacment->att_user->usr_user_name == NULL.
I build FireBird from source code and I have a patch
for it - it's trivial. I think that this bug is to be
fixed. What to do now?
Alexander Peshkov.
|
Description
|
SFID: 545725#
Submitted By: alexpeshkoff
When automatic Sweep runs, server hangs in
isc_database_info on isc_info_user_names sub-function.
OS - Windows NT/2000. Possibly any SUPERSERVER version.
FireBird - Rc2, Release. Possibly bug was present in
earlier versions, too.
In inf.c, near line 573, field usr_user_name is used
as parameter in strlen() without check, whether it
NULL or not. In normal attacment, it never may be 0.
But automatic Sweep (maybe something else, but Sweep
definitely) creates special attachment with
attacment->att_user->usr_user_name == NULL.
I build FireBird from source code and I have a patch
for it - it's trivial. I think that this bug is to be
fixed. What to do now?
Alexander Peshkov. |
Show » |
|
Sender: seanleyne
Logged In: YES
user_id=71163
Alexander,
Thanks for posting the fix, this was annoying little bug was
reported by a couple of users but was turning out to be
very difficult to diagnose.
Could you, now, work on a fix for the FB v2 code base. We
really want to keep both bases updated for all
fixes/updates. Thanks