#607 Player: Fix allocation bug in fakelocalize driver

closed-accepted
Brian Gerkey
Player (393)
5
2010-07-30
2010-07-30
Thimo Langbehn
No

This patch fixes the particle allocation bug (already noted in the source) in the fakelocalize driver. The unpatched version of fakelocalize accesses an uninitialized pointer if the PLAYER_LOCALIZE_REQ_GET_PARTICLES message is requested resulting in a Segementation Fault.

Discussion

  • Thimo Langbehn
    Thimo Langbehn
    2010-07-30

    Fakelocalize paricle allocation patch

     
  • Rich Mattes
    Rich Mattes
    2010-07-30

    • status: open --> closed-accepted
     
  • Rich Mattes
    Rich Mattes
    2010-07-30

    The changes have been made in SVN trunk.
    Thank you for your contribution.