Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-27

bugzillaId-568: Code should use thread safe versions in C library

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 1.0.1
    • 1.0.6
    • Core
    • None
    • Linux

    Description

      This is imported from bugzilla item: http://bugs.mariadb.com/show_bug.cgi?id=568

      Description martin.brampton@skysql.com 2014-10-07 08:50:50 UTC
      Although some are currently safe, it is likely that some are not. It would be better, as a policy for present and future robustness to use thread safe versions of C library functions, or to explicitly protect them close to the point of use. For example crypt (crypt_r is available), getenv, getopt, localtime, rand (drand48_r may be an alternative), readdir (readdir_r is available), strtok (strtok_r is available). This is not necessarily an exhaustive list.

      Attachments

        Activity

          People

            markus makela markus makela
            martin brampton martin brampton (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.