Navigation


Changeset 450:f6e85a0694eb in freeDiameter


Ignore:
Timestamp:
Jul 29, 2010, 2:29:31 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Fix a possible race condition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfreeDiameter/fifo.c

    r399 r450  
    413413        TRACE_ENTRY( "%p", queue );
    414414       
    415         /* Check the parameter */
    416         if ( ! CHECK_FIFO( q )) {
    417                 TRACE_DEBUG(INFO, "Invalid queue, skipping handler");
    418                 return;
    419         }
    420        
    421415        /* The thread has been cancelled, therefore it does not wait on the queue anymore */
    422416        q->thrs--;
Note: See TracChangeset for help on using the changeset viewer.