Issue Details (XML | Word | Printable)

Key: CORE-365
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Alexander Peshkov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Automatic/background sweep hangs

Created: 18/Apr/02 12:00 AM   Updated: 23/Aug/16 06:25 PM
Component/s: Engine
Affects Version/s: None
Fix Version/s: 1.0.3

SF_ID: 545725
QA Status: Cannot be tested


 Description  « Hide
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.

 All   Comments   Change History   Subversion Commits      Sort Order: Descending order - Click to sort in ascending order
Alice F. Bird added a comment - 14/Jun/06 09:38 AM
Date: 2002-06-28 02:53
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