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

getLogger()->log format string errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.8.1, 2.0-beta
    • 1.8.1
    • couchbase-bucket
    • Security Level: Public
    • None
    • 2

    Description

      This issue was reported from Aliaksey:

      Hi,

      Today I came across a place in ep-engine where wrong number of
      parameters was passed to getLogger()->log() call. Thus I decided to
      enable gcc format string checks (patch is on gerrit:
      http://review.couchbase.org/14901). I had to fix few errors in
      memcached. But there's a whole bunch of such errors in ep-engine.
      Including pretty harmful like passing more arguments or less arguments
      than it's required by a format string. Could you please fix this when
      you have some free time?

      Thanks,
      Aliaksey.

      Attachments

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

        Activity

          People

            junyi Junyi Xie (Inactive)
            chiyoung Chiyoung Seo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty