)]}'
{
  "commit": "0134f725b7d254ddbc3cc6dd72399edea832559c",
  "tree": "a425bdc2019436e278fc224635a25ae0a2d49dc9",
  "parents": [
    "801fbd560d334fc94e98fec4097eeac70ea63e3d"
  ],
  "author": {
    "name": "Patrick Brown",
    "email": "opensource@whoopdedo.org",
    "time": "Sun Dec 06 15:09:42 2015 +0100"
  },
  "committer": {
    "name": "Herbert Xu",
    "email": "herbert@gondor.apana.org.au",
    "time": "Mon Jun 06 18:32:56 2016 +0800"
  },
  "message": "builtin: Reject malformed printf specifications with digits after \u0027*\u0027\n\nDash doesn\u0027t notice when a format string has digits following a * width\nspecifier.\n\n    $ dash -c \u0027printf \"%*0s  \" 1 2 \u0026\u0026 echo FAIL || echo OK\u0027\n    %10s  FAIL\n\n    $ bash -c \u0027printf \"%*0s  \" 1 2 \u0026\u0026 echo FAIL || echo OK\u0027\n    bash: line 0: printf: `0\u0027: invalid format character\n    OK\n    $ mksh -c \u0027printf \"%*0s  \" 1 2 \u0026\u0026 echo FAIL || echo OK\u0027\n    printf: %*0: invalid conversion specification\n    OK\n\nWith this patch dash complains about the malformed specifications.\n\n    $ ./src/dash -c \u0027printf \"%*0s  \" 1 2 \u0026\u0026 echo FAIL || echo OK\u0027\n    ./src/dash: 1: printf: %*0: invalid directive\n    OK\n\nFixes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug\u003d779618\n\nOriginally-by: Patrick Brown \u003copensource@whoopdedo.org\u003e\nForwarded-by: Gioele Barabucci \u003cgioele@svario.it\u003e\n\nSigned-off-by: Herbert Xu \u003cherbert@gondor.apana.org.au\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9673e10e204aa67d42a80f2eba5fdfb3fc8ccb55",
      "old_mode": 33188,
      "old_path": "src/bltin/printf.c",
      "new_id": "11122536798f67f71cced9114e00e4779e353338",
      "new_mode": 33188,
      "new_path": "src/bltin/printf.c"
    }
  ]
}
