What steps will reproduce the problem?
1. Send binary SMS to Boghe.
2.
3.
What is the expected output? What do you see instead?
Should receive a message dialog pop-up
What version of the product are you using? On what operating system?
latest - SVN
Please provide any additional information below.
Proposed patch
Index: branches/2.0/boghe/boghe-core/Services/Impl/SipService.Callback.cs
===================================================================
---
branches/2.0/boghe/boghe-core/Services/Impl/SipService.Callback.cs (revision
192)
+++ branches/2.0/boghe/boghe-core/Services/Impl/SipService.Callback.cs (working
copy)
@@ -265,8 +265,8 @@
/* ==== 3GPP SMSIP === */
byte[] buffer = (bytes.Clone() as byte[]);
IntPtr ptr = Marshal.AllocHGlobal(buffer.Length);
+ Marshal.Copy(buffer, 0, ptr, buffer.Length);
SMSData smsData = SMSEncoder.decode(ptr, (uint)buffer.Length, false);
- Marshal.Copy(ptr, buffer, 0, buffer.Length);
Marshal.FreeHGlobal(ptr);
if (smsData != null){
Original issue reported on code.google.com by jason.penton@gmail.com on 15 May 2014 at 10:17
Original issue reported on code.google.com by
jason.penton@gmail.com
on 15 May 2014 at 10:17