{"push_id":1423463560,"size":2,"distinct_size":2,"ref":"refs/heads/cherry-pick-segfault","head":"d1571a25e8f3860a2867b00994d4d6938aa602ec","before":"5b1c217bc490289f1f14bee490533c9e307a2e06","commits":[{"sha":"f1a1fbf148e1f0106f47ea0153c4eb0dfa3bd21b","author":{"name":"Johannes Schindelin","email":"c714eff280a95c3e5bbcc9303c4499eebb0d49aa@gmx.de"},"message":"cherry-pick: demonstrate a segmentation fault\n\nIn https://github.com/git-for-windows/git/issues/952, a complicated\nscenario was described that leads to a segmentation fault in\ncherry-pick.\n\nIt boils down to a certain code path involving a renamed file that is\ndirty, for which `refresh_cache_entry()` returns `NULL`, and that\n`NULL` not being handled properly.\n\nSigned-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>","distinct":true,"url":"https://api.github.com/repos/dscho/git/commits/f1a1fbf148e1f0106f47ea0153c4eb0dfa3bd21b"},{"sha":"d1571a25e8f3860a2867b00994d4d6938aa602ec","author":{"name":"Johannes Schindelin","email":"c714eff280a95c3e5bbcc9303c4499eebb0d49aa@gmx.de"},"message":"Avoid a segmentation fault with renaming merges\n\nUnder very particular circumstances, merge-recursive's `add_cacheinfo()`\nfunction gets a `NULL` returned from `refresh_cache_entry()` without\nexpecting it, and subsequently passes it to `add_cache_entry()` which\nconsequently crashes.\n\nLet's not crash.\n\nThis fixes https://github.com/git-for-windows/git/issues/952\n\nSigned-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>","distinct":true,"url":"https://api.github.com/repos/dscho/git/commits/d1571a25e8f3860a2867b00994d4d6938aa602ec"}]}
{"actor":{"display_login":"dscho"}}