Patch Set 3:

(1 comment)

https://gerrit.osmocom.org/#/c/3537/3/src/osmux.c
File src/osmux.c:

Line 918:               SNPRINTF_BUFFER_SIZE(ret, buf_offset, size);
> OK, if the problem are truncated packet, then fix _snprintf() function to u
I have no idea if the code initially fetching the AMR size from RTP is doing 
that correctly or not, I'm just pointing out what I see in the code, which was 
already there before this commit. I'm just keeping the validation checks from 
before because again I didn't want to spend lots of time in checking if this 
specific check is good or not. In the worse case, it's harmless, so no big 
issue.


-- 
To view, visit https://gerrit.osmocom.org/3537
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I695771d099833842db37a415b636035d17f1bba7
Gerrit-PatchSet: 3
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Holger Freyther <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <[email protected]>
Gerrit-Reviewer: Pablo Neira Ayuso <[email protected]>
Gerrit-Reviewer: Pau Espin Pedrol <[email protected]>
Gerrit-HasComments: Yes

Reply via email to