mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 947814 - 0001. Assign length of data. r=vicamo
This commit is contained in:
parent
ef480d31cc
commit
1f89f12bf3
@ -185,9 +185,9 @@ this.Authenticator = {
|
||||
checked: false,
|
||||
sec: AUTH_SEC_TYPE[sec],
|
||||
mac: mac.toUpperCase(),
|
||||
dataLength: wbxml.length,
|
||||
data: wbxml
|
||||
};
|
||||
authInfo.data.length = wbxml.length;
|
||||
|
||||
switch (authInfo.sec) {
|
||||
case "NETWPIN":
|
||||
|
@ -123,6 +123,7 @@ this.WapPushManager = {
|
||||
contentType: contentType,
|
||||
content: data.array
|
||||
};
|
||||
msg.content.length = data.array.length;
|
||||
}
|
||||
|
||||
let sender = PhoneNumberUtils.normalize(options.sourceAddress, false);
|
||||
|
Loading…
Reference in New Issue
Block a user