thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adriaan Schmidt (JIRA)" <>
Subject [jira] [Created] (THRIFT-4140) Use of non-thread-safe function gmtime()
Date Mon, 27 Mar 2017 09:26:41 GMT
Adriaan Schmidt created THRIFT-4140:

             Summary: Use of non-thread-safe function gmtime()
                 Key: THRIFT-4140
             Project: Thrift
          Issue Type: Bug
          Components: C++ - Library
    Affects Versions: 0.10.0
            Reporter: Adriaan Schmidt
            Priority: Minor

Method *THttpServer::getTimeRFC1123()* (in lib/cpp/src/thr8ft/transport/THttpServer.cpp) uses
This function is documented to be not thread-safe (

Instead, we should use gmtime_r().

This message was sent by Atlassian JIRA

View raw message