)]}'
{
  "commit": "863db948f381f74aea58a08a4b559facaf165ef0",
  "tree": "2a18e1272871c7b77046d238c68538d23e4286e1",
  "parents": [
    "6f5342db687b891aed39af61ac0e9c607b0e5ab2"
  ],
  "author": {
    "name": "Sergiu Deitsch",
    "email": "sergiu.deitsch@gmail.com",
    "time": "Mon Sep 11 19:13:29 2023 +0200"
  },
  "committer": {
    "name": "Sergiu Deitsch",
    "email": "sergiu.deitsch@gmail.com",
    "time": "Mon Sep 11 22:51:28 2023 +0200"
  },
  "message": "Eliminate macOS sprintf warning\n\nAppleClang 14.0.0.14000029 warns about a potential security problem\nwhile invoking the sprintf C function:\n\n    internal/ceres/fixed_array_test.cc:469:3: warning: \u0027sprintf\u0027 is deprecated: 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. [-Wdeprecated-declarations]\n      sprintf(buf.data(), \"foo\");  // NOLINT(runtime/printf)\n      ^\n    /Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/stdio.h:188:1: note: \u0027sprintf\u0027 has been explicitly marked deprecated here\n    __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.\")\n    ^\n    /Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro \u0027__deprecated_msg\u0027\n            #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))\n\nReplace sprintf by snprintf to avoid this deprecation warning.\n\nChange-Id: I6870c0bd4e390388d1d7bcec082cee272b234eba\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d6c56052af65ef6283439ec82192fd6e3b0f3cf8",
      "old_mode": 33188,
      "old_path": "internal/ceres/fixed_array_test.cc",
      "new_id": "66b3fbfa28bb742723223588d26edfdbe61e2da5",
      "new_mode": 33188,
      "new_path": "internal/ceres/fixed_array_test.cc"
    }
  ]
}
