Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Called/calling numbers gets truncated to a len of 8 on libpri-based interfaces #7

Open
xadhoom opened this issue Mar 18, 2022 · 0 comments

Comments

@xadhoom
Copy link

xadhoom commented Mar 18, 2022

In current freetdm, just after the split from FS codebase, incoming cid num and dnis gets truncated to a fixed size of 8.

Looking into commits history this seems the culprit:
f698205#diff-799d73a265908a5bf4b30ab348dc83ef07004c1ddd57c7263824c41d61109209R136

wondering if is a slipped in modification or what, since appears in a totally unrelated commit.

In ftmod_libpri ftdtm_set_string is called with a pointer as src argument and the above modification will get the sizeof of the pointer to src, not the real size of the data, as @davec82 mentioned in commit comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant