[Asterisk-code-review] app_osplookup.c: Avoid a format truncation. (asterisk[master])

Alexander Traud asteriskteam at digium.com
Thu Apr 9 04:54:45 CDT 2020


Alexander Traud has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/14086 )

Change subject: app_osplookup.c: Avoid a format truncation.
......................................................................


Patch Set 1:

(1 comment)

> What version of the OSP Toolkit are you using?

I am in Ubuntu 20.04 LTS Desktop (Focal) which was released as Beta last week. I am using the script ./contrib/scripts/install_prereq. Therefore, I am using: <https://packages.ubuntu.com/focal/libosptk-dev>.

https://gerrit.asterisk.org/c/asterisk/+/14086/1/apps/app_osplookup.c 
File apps/app_osplookup.c:

https://gerrit.asterisk.org/c/asterisk/+/14086/1/apps/app_osplookup.c@997 
PS1, Line 997: 	char buffer[OSP_SIZE_NORSTR - strlen("[]:")];
Why?

> What version of the OSP Toolkit are you using?

I am in Ubuntu 20.04 LTS Desktop (Focal) which was released as Beta last week. I am using the script ./contrib/scripts/install_prereq. Therefore, I am using: <https://packages.ubuntu.com/focal/libosptk-dev>.



-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/14086
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Ie54c8241ff0cc653910539c2db00ff2a4869750b
Gerrit-Change-Number: 14086
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Comment-Date: Thu, 09 Apr 2020 09:54:45 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: George Joseph <gjoseph at digium.com>
Comment-In-Reply-To: Alexander Traud <pabstraud at compuserve.com>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200409/0a45130c/attachment.html>


More information about the asterisk-code-review mailing list