Race condition in older version (0.9.4)

Bug #886421 reported by qishanxiang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pbzip2
New
Undecided
Unassigned

Bug Description

Hi:
   Probably it's a little weird, I wanna report a race condition in an old version pbzip2-0.9.4. The bug is between pbzip2.cpp:704 VS. pbzip2.cpp:966. Basically it would cause unnecessary sleep. The source code is following:

if(OutputBuffer[currBlock].bufsize<1 ||..)
                                                                             <- OutputBuffer[blockNum].bufSize = outSize;
usleep(50000);

Revision history for this message
Jeff Gilchrist (jeff-gilchrist) wrote :

This is a pre-release of pbzip2 before 1.0. We are currently at 1.1.6. If there is still a race condition in the latest 1.1.6 we will be happy to look at it, but we are no longer supporting such an older version.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.