Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-33714

sprintf deprecated on macOS, replace with snprintf

    XMLWordPrintable

Details

    • Bug
    • Status: Stalled (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • 10.6
    • None
    • None

    Description

      Building on macOS emits the following warning many times:

      /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
      __deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
      

      Attachments

        Issue Links

          Activity

            People

              shulga Dmitry Shulga
              Gosselin Dave Gosselin
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 0d
                  0d
                  Remaining:
                  Time Spent - 0.5d Remaining Estimate - 2d 34m
                  2d 34m
                  Logged:
                  Time Spent - 0.5d Remaining Estimate - 2d 34m
                  0.5d

                  Git Integration

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