#25 get and put symbols should be conditional on USE_PLIST

closed-fixed
nobody
None
5
2011-08-26
2011-08-20
Doug Currie
No

When USE_PLIST is not defined, the get and put symbols are present and can lead to crashes when used.

I suggest adding these preprocessor lines in opdefines.h

#if USE_PLIST
_OP_DEF(opexe_4, "put", 3, 3, TST_NONE, OP_PUT )
_OP_DEF(opexe_4, "get", 2, 2, TST_NONE, OP_GET )
#endif

Discussion

  • Kevin Cozens

    Kevin Cozens - 2011-08-26
    • status: open --> closed-fixed
     
  • Kevin Cozens

    Kevin Cozens - 2011-08-26

    Thanks for spotting this. Fixed in revision 75.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks