{"push_id":2795995123,"size":1,"distinct_size":0,"ref":"refs/heads/master","head":"906508bbf0b1b73751f15559350c418c49b9e037","before":"6461f5a2e10fa5983e8467d3f4f0b9374c1aea36","commits":[{"sha":"906508bbf0b1b73751f15559350c418c49b9e037","author":{"name":"redi","email":"71b1be2b66a17077a3afcb609973d02ab43136ba@138bc75d-0d04-0410-961f-82ee72b054a4"},"message":"Rope iterators: don't retain pointers when copied\n\nRope iterators sometimes contain pointers to an internal buffer\ninside the iterator itself.  When such an iterator is copied, the\ncopy incorrectly retains pointers to the original.\n\nThis patch takes the simple approach of not copying the cached\ninformation when the internal buffer is being used, instead\nrequiring it to be recomputed when the copied iterator is\ndereferenced.  An alternative would be to adjust the pointers so\nthey refer to the buffer in the copy.\n\n2018-08-14  Jeremy Sawicki  <jeremy-gcc@sawicki.us>\n\n\t* include/ext/rope (_Rope_iterator_base(const _Rope_iterator_base&))\n\t(_Rope_const_iterator::operator=(const _Rope_const_iterator&))\n\t(_Rope_iterator::operator=(const _Rope_iterator&)): Ensure\n\tcopied/assigned rope iterators don't retain pointers to the iterator\n\tthey were copied/assigned from.\n\t* testsuite/ext/rope/7.cc: New.\n\ngit-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263534 138bc75d-0d04-0410-961f-82ee72b054a4","distinct":false,"url":"https://api.github.com/repos/gcc-mirror/gcc/commits/906508bbf0b1b73751f15559350c418c49b9e037"}]}
{"actor":{"display_login":"hubot"}}