Changeset 0da9475


Ignore:
Timestamp:
Nov 20, 2023, 1:25:52 PM (6 months ago)
Author:
caparson <caparson@…>
Branches:
master
Children:
6a0b043
Parents:
29eaa3f
Message:

fixed bug where cofor runner could derefence a null pointer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/cofor.hfa

    r29eaa3f r0da9475  
    3737        runner_node * node = &try_pop_front( items );
    3838                unlock( mutex_lock );
     39                if ( !node )
     40                        continue;
    3941        func( node->value );
    4042        free( node->value );
Note: See TracChangeset for help on using the changeset viewer.