[OpenSIPS-Devel] [OpenSIPS/opensips] 900f6c: rest_client: Fix memory allocation race condition

Liviu Chircu liviu at opensips.org
Tue Dec 6 05:27:35 EST 2016

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 900f6c996c697bf913efb7843d915411b5da930c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2016-12-06 (Tue, 06 Dec 2016)

  Changed paths:
    M modules/rest_client/rest_client.c

  Log Message:
  rest_client: Fix memory allocation race condition

libcurl actually creates a thread to do each blocking request, so the
memory allocation functions we provide it with must be thread safe.

Thanks to Agalya Ramachandran for helping troubleshoot this bug

More information about the Devel mailing list