Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-2125

libconflate/libcurl fix for RHEL 5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Minor
    • 2.0
    • 1.6.0 beta4
    • moxi
    • None
    • Operating System: All
      Platform: All

    Description

      Steve, can you take a look at this post and let me know if we want to adopt the changes to libconflate that are proposed?

      Perry

      ---------- Forwarded message ----------
      From: NorthScale Forums <support@northscale.com>
      Date: Wed, Sep 15, 2010 at 1:33 PM
      Subject: New Post/Thread Notification: NorthScale Membase Server Beta
      To: staff_d@northscale.com

      Hello,

      jacoblundberg has just posted in the NorthScale Membase Server Beta forum of NorthScale Forums under the title of beta3 built from source does not listen on port 11211.

      This thread is located at http://forums.northscale.com/showthread.php?457-beta3-built-from-source-does-not-listen-on-port-11211

      Here is the message that has just been posted:
      ***************
      I have been hoping to see this second libconflate patch show up in the git repository... It is technically a bug in the libconflate code. If you refer to the following API document:

      http://curl.haxx.se/libcurl/c/curl_easy_setopt.html

      You will see: "Before version 7.17.0, strings were not copied. Instead the user was forced keep them available until libcurl no longer needed them."

      In other words, the current libconflate code is only valid for curl versions 7.17.0 or newer. RHEL5 uses 7.15.5. The patch I provided resolves this issue by moving the variables passed to curl into a scope where they will outlive the curl invocation.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            steve Steve Yen
            steve.yen@northscale.com Steve Yen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty