)]}'
{
  "commit": "9e99c5fd7060267a0331d900e73fdb36047bfe0c",
  "tree": "6d4a4dcf1bda9ee1c92f7ee6f2c96d84b2bed0f7",
  "parents": [
    "675879f6f3c9463e103735a4e41e9deb0bee9b39"
  ],
  "author": {
    "name": "Andreas Färber",
    "email": "afaerber@suse.de",
    "time": "Wed Jul 09 22:28:49 2014 +0200"
  },
  "committer": {
    "name": "Peter Maydell",
    "email": "peter.maydell@linaro.org",
    "time": "Thu Jul 10 11:53:14 2014 +0100"
  },
  "message": "tests: Fix unterminated string output visitor enum human string\n\nThe buffer was being allocated of size string length plus two.\nAround the string two quotes were being added, but no terminating NUL.\nIt was then compared using g_assert_cmpstr(), resulting in fairly random\nassertion failures:\n\n ERROR:tests/test-string-output-visitor.c:213:test_visitor_out_enum: assertion failed (str \u003d\u003d str_human): (\"\\\"value1\\\"\" \u003d\u003d \"\\\"value1\\\"\\001EEEEEEEEEEEEEE\\0171\")\n\nThere is no g_assert_cmpnstr() counterpart, so use g_strdup_printf()\nfor safely assembling the string in the first place.\n\nCc: Hu Tao \u003chutao@cn.fujitsu.com\u003e\nCc: Michael S. Tsirkin \u003cmst@redhat.com\u003e\nSuggested-by: Eric Blake \u003ceblake@redhat.com\u003e\nFixes: b4900c0 tests: add human format test for string output visitor\nSigned-off-by: Andreas Färber \u003cafaerber@suse.de\u003e\nReviewed-by: Eric Blake \u003ceblake@redhat.com\u003e\nReviewed-by: Hu Tao \u003chutao@cn.fujitsu.com\u003e\nSigned-off-by: Peter Maydell \u003cpeter.maydell@linaro.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e89e43c3efb30d7d8371b376df3eff9c16611fa9",
      "old_mode": 33188,
      "old_path": "tests/test-string-output-visitor.c",
      "new_id": "101fb27dd1651a72aa1791ce565bdfc61fc99582",
      "new_mode": 33188,
      "new_path": "tests/test-string-output-visitor.c"
    }
  ]
}
