)]}'
{
  "commit": "4d474fa3297c0d5d632e2c0bff6ccb0edbedaa5d",
  "tree": "61ca2f19e552df821eb2dc06cd9e06c81993aacf",
  "parents": [
    "c78a46c27f6dfdd42fe0800cebabc1e49cb0a4bf"
  ],
  "author": {
    "name": "David Lamparter",
    "email": "equinox@opensourcerouting.org",
    "time": "Tue Nov 19 15:00:06 2013 +0100"
  },
  "committer": {
    "name": "David Lamparter",
    "email": "equinox@opensourcerouting.org",
    "time": "Fri Mar 21 06:28:48 2014 +0100"
  },
  "message": "lib: fix backtraces broken by 837d16c...\n\n837d16c (\"*: use array_size() helper macro\") accidentally changed one of\nthe expressions in the backtrace code, which afterwards read:\n\nzlog_backtrace_sigsafe():\n  if (((size \u003d backtrace(array,array_size(array)) \u003c\u003d 0) ||\n\nwhich boils down to: (size \u003d backtrace(...)  \u003c\u003d 0).  The braces were\nintended to go:      (size \u003d backtrace(...)) \u003c\u003d 0.\n\nAll in all, this makes a nice textbook example of the original author\nbeing too clever (trying to save a single line by pulling the assignment\ninto the condition) and the next person touching the code tripping over\nit...\n\nThis code occurs another time in zlog_backtrace() where it is actually\ncorrect.  Pulling out the assignment nonetheless.  Also, new test\nprogram.\n\nCc: Andrew J. Schorr \u003cajschorr@alumni.princeton.edu\u003e\nCc: Balaji.G \u003cbalajig81@gmail.com\u003e\nCc: Scott Feldman \u003csfeldma@cumulusnetworks.com\u003e\nSigned-off-by: David Lamparter \u003cequinox@opensourcerouting.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e4ec7c2283eb576c093019d302390d50a9313d82",
      "old_mode": 33188,
      "old_path": "lib/log.c",
      "new_id": "55a3b052dbf44c4f5663db5296bb71209a15d64e",
      "new_mode": 33188,
      "new_path": "lib/log.c"
    },
    {
      "type": "modify",
      "old_id": "31fb70a484d364baf98d57fa45b7ddc6e9f2b456",
      "old_mode": 33188,
      "old_path": "tests/.gitignore",
      "new_id": "8d00a3df7c8bbc3768d8ff380447078def5e77e7",
      "new_mode": 33188,
      "new_path": "tests/.gitignore"
    },
    {
      "type": "modify",
      "old_id": "9260a900bdc83d6fbaea88d5fe1330acd70f0b75",
      "old_mode": 33188,
      "old_path": "tests/Makefile.am",
      "new_id": "5e631d6a861c34435a4198fbba045c9cd5a87c4c",
      "new_mode": 33188,
      "new_path": "tests/Makefile.am"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "55bd25a59d8b142a621ed25a77f5d7fcd9169fd1",
      "new_mode": 33188,
      "new_path": "tests/test-segv.c"
    }
  ]
}
