[Asterisk-code-review] Change in asterisk[master]: AMI: Fix improper handling of lines that are exactly 1025 by...

Corey Farrell (Code Review) asteriskteam at digium.com
Mon Apr 13 23:29:14 CDT 2015


Hello Matt Jordan,

I'd like you to reexamine a change.  Please visit

    https://gerrit.asterisk.org/74

to look at the new patch set (#2).

Change subject: AMI: Fix improper handling of lines that are exactly 1025 bytes long.
......................................................................

AMI: Fix improper handling of lines that are exactly 1025 bytes long.

When AMI receives a line that is 1025 bytes long, it sends two error
messages.  Copy the last byte in the buffer to the first postiion,
set the length to 1.

ASTERISK-20524 #close
Reported by: David M. Lee

Change-Id: Ifda403e2713b59582c715229814fd64a0733c5ea
---
M main/manager.c
1 file changed, 4 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/74/74/2
-- 
To view, visit https://gerrit.asterisk.org/74
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ifda403e2713b59582c715229814fd64a0733c5ea
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Matt Jordan <mjordan at digium.com>



More information about the asterisk-code-review mailing list