Menu

#64 MDCOM module needs some restructuring and correction after static analysis

1.2.0.0
closed
mike
None
2014-10-31
2014-09-03
mike
No

The mdcom module needs overhaul in aspects of readability and error handling. Furthermor static analysis revealed potential flaws, which may lead to sporadic issues during runtime.

Related

Tickets: #66

Discussion

  • mike

    mike - 2014-09-03

    Most obvious error causing potential overflow fixed in [r1326] - more to come

     

    Related

    Commit: [r1326]

  • mike

    mike - 2014-10-10

    Changeset [r1337] contains a major overhaul of numerous functions to get compexity lower and readability higher.
    Broke up several functions into subfunctions (for example trdp_mdRecvPacket) to get better modularization.
    Still a lot is open, notably the common send routine is still very long. After having [#48] another sweep might be conducted for this ticket.

     

    Related

    Tickets: #48
    Commit: [r1337]

  • mike

    mike - 2014-10-16

    introduced static for all functions not used elsewhere in libtrdp (trdp_mdcom.c/h) in [r1345]

     

    Related

    Commit: [r1345]

  • mike

    mike - 2014-10-31

    Closing this ticket for this step.
    In a later reworking session the function trdp_mdCommonSend should get split up into use case specific functions for calling/replying/confirm.

     
  • mike

    mike - 2014-10-31
    • status: accepted --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB