)]}' { "commit": "b78c3a6825d81a886a7f1e4c61e95d7fe4bf1cac", "tree": "bfbdf095279a535cc5b698292bc7302e2eb929ac", "parents": [ "ddab686633b7c00308545a1577819cbfdbad1953" ], "author": { "name": "Nicolas Dechesne", "email": "nicolas.dechesne@linaro.org", "time": "Mon Jun 15 12:21:54 2015 +0200" }, "committer": { "name": "Luca Weiss", "email": "luca.weiss@fairphone.com", "time": "Thu Sep 23 12:46:24 2021 +0200" }, "message": "app: aboot: fix incorrect check for integer overflow\n\nWhen we encounter a large DONTCARE chunk, the integer overflow check that was\nimplemented in commit 14cff317 will report a false failure.\n\nFor example, the following chunk header was observed:\n\n[58840] \u003d\u003d\u003d Chunk Header \u003d\u003d\u003d\n[58840] chunk_type: 0xcac3\n[58850] chunk_data_sz: 0x198ffe\n[58850] total_size: 0xc\n\nwhich is valid, but reported as:\n\n\"Bogus size sparse and chunk header\"\n\nThe check for the 32-bit overflow when computing the actual chunk size should be\ndone only for RAW chunk, instead.\n\nIssue: FP2A10-106\nSigned-off-by: Nicolas Dechesne \u003cnicolas.dechesne@linaro.org\u003e\nChange-Id: I89930a66448b4d3baaba3bc28227572362679caf\n", "tree_diff": [ { "type": "modify", "old_id": "9c0ba40675791f549ed5b70473f1036d98bc8265", "old_mode": 33261, "old_path": "app/aboot/aboot.c", "new_id": "6681cbd43ec3ad1868f31d2eeba5c93c503224ec", "new_mode": 33261, "new_path": "app/aboot/aboot.c" } ] }