[opensource-dev] Review Request: Crash in LLRemoteParcelInfoProcessor::processParcelInfoReply()

Boroondas Gupte sllists at boroon.dasgupta.ch
Thu Dec 16 06:53:02 PST 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://codereview.secondlife.com/r/24/#review30
-----------------------------------------------------------



indra/newview/llremoteparcelrequest.cpp
<http://codereview.secondlife.com/r/24/#comment13>

    post-increments are subtle ... please include some comment in the code that points out what's going on. (Can be short)



indra/newview/llremoteparcelrequest.cpp
<http://codereview.secondlife.com/r/24/#comment14>

    Please also comment in the code why cur_oi may not be oi when calling this, so we don't risk someone reverting your fix by accident.


- Boroondas


On 2010-12-15 11:27:50, Kitty Barnett wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://codereview.secondlife.com/r/24/
> -----------------------------------------------------------
> 
> (Updated 2010-12-15 11:27:50)
> 
> 
> Review request for Viewer.
> 
> 
> Summary
> -------
> 
> erase() on a multimap will only invalidate iterators that point to the element being erased so pre-incrementing the loop iterator should prevent it from getting invalidated when an observer calls removeObserver() as part of its processParcelInfo() implementation.
> 
> 
> This addresses bug VWR-24207.
>     http://jira.secondlife.com/browse/VWR-24207
> 
> 
> Diffs
> -----
> 
>   indra/newview/llremoteparcelrequest.cpp UNKNOWN 
> 
> Diff: http://codereview.secondlife.com/r/24/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Kitty
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20101216/9b793ba2/attachment.htm 


More information about the opensource-dev mailing list