[PATCH] lib: another iterator-temporary/stale-pointer bug

2015-01-01 Thread Jani Nikula
On Sun, 28 Dec 2014, David Bremner wrote: > Tamas Szakaly points out [1] that the bug fixed in 51b073c still > exists in at least one place. This change follows the suggestion of > [2] and creates a block scope temporary std::string to avoid the rules > of iterators temporaries. > > [1]: id:201412

Re: [PATCH] lib: another iterator-temporary/stale-pointer bug

2015-01-01 Thread Jani Nikula
On Sun, 28 Dec 2014, David Bremner wrote: > Tamas Szakaly points out [1] that the bug fixed in 51b073c still > exists in at least one place. This change follows the suggestion of > [2] and creates a block scope temporary std::string to avoid the rules > of iterators temporaries. > > [1]: id:201412

[PATCH] lib: another iterator-temporary/stale-pointer bug

2014-12-28 Thread David Bremner
Tamas Szakaly points out [1] that the bug fixed in 51b073c still exists in at least one place. This change follows the suggestion of [2] and creates a block scope temporary std::string to avoid the rules of iterators temporaries. [1]: id:20141226113755.GA64154 at pamparam [2]: id:20141226230655.GA

[PATCH] lib: another iterator-temporary/stale-pointer bug

2014-12-28 Thread David Bremner
Tamas Szakaly points out [1] that the bug fixed in 51b073c still exists in at least one place. This change follows the suggestion of [2] and creates a block scope temporary std::string to avoid the rules of iterators temporaries. [1]: id:20141226113755.GA64154@pamparam [2]: id:20141226230655.GA419