May 14, 2011

Fix for "Orphaned part detection issue".

Hi all,

Here is the fix for the previously reported bug - a really important bug that leads to message loss with mathematical accuracy. You are advised to fix this manually ASAP. The same fix can be applied to v3.4.6 as well.

  • Edit ModemGateway.java file.
  • Locate the checkMpMsgList(msgList) call inside the readMessagesPDU() method.
  • Add the following lines:
List tmpList;
for (int k = 0; k < this.mpMsgList.size(); k++)
{
    tmpList = this.mpMsgList.get(k);
    tmpList.clear();
}
mpMsgList.clear();

For more information, check this revision.
If you follow the SMSLib repository, just update to revision r2303.

An official new release will of course, follow shortly.

1 comments:

  1. It should be added at which line number or at which place of code????


    To be inserted here???????

    checkMpMsgList(msgList);

    To be inserted here???????

    ReplyDelete