This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/10324 )
Change subject: IPA_Emulation: Add missing zero byte to strings in IPA CCM ID RESP
......................................................................
IPA_Emulation: Add missing zero byte to strings in IPA CCM ID RESP
Change-Id: I3fdc0f47381d5ba1763197d5f264696f04d0396f
---
M library/IPA_Emulation.ttcnpp
M library/IPA_Types.ttcn
2 files changed, 2 insertions(+), 2 deletions(-)
Approvals:
Jenkins Builder: Verified
Harald Welte: Looks good to me, approved
diff --git a/library/IPA_Emulation.ttcnpp b/library/IPA_Emulation.ttcnpp
index a271f2d..b10a983 100644
--- a/library/IPA_Emulation.ttcnpp
+++ b/library/IPA_Emulation.ttcnpp
@@ -239,7 +239,7 @@
private template IpaCcmRespPart t_IdRespPart(IpaCcmIdTag tag, charstring payload) := {
len := 0, /* overwritten by codec */
tag := tag,
- data := payload
+ data := char2oct(payload) & '00'O
}
private function f_send_IPA_EVT(template ASP_IPA_Event evt) runs on IPA_Emulation_CT {
diff --git a/library/IPA_Types.ttcn b/library/IPA_Types.ttcn
index 933a3fe..3230329 100644
--- a/library/IPA_Types.ttcn
+++ b/library/IPA_Types.ttcn
@@ -98,7 +98,7 @@
type record IpaCcmRespPart {
uint16_t len,
IpaCcmIdTag tag,
- charstring data
+ octetstring data
} with { variant (len) "LENGTHTO(data,tag)" }
type set of IpaCcmRespPart IpaCcmIdResp;
--
To view, visit https://gerrit.osmocom.org/10324
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I3fdc0f47381d5ba1763197d5f264696f04d0396f
Gerrit-Change-Number: 10324
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180802/226b8358/attachment.htm>