• Dridi Boukelmoune's avatar
    varnishtest: Remove critical section · 85e79d06
    Dridi Boukelmoune authored
    The buf_len field is only ever modified by the poll thread and should not
    need to be guarded here. This will hopefully silence a coverity warning:
    
       CID 1485138:  Concurrent data access violations  (ATOMICITY)
       Using an unreliable value of "l" inside the second locked
       section. If the data that "l" depends on was changed by
       another thread, this use might be incorrect.
    
    It might on the other hand complain even harder, I have an alternative
    if that happens.
    85e79d06
vtc_tunnel.c 18 KB