bugConcurrent Versions System - Bugs: bug #14601, packetizing_buffer_input() hang...

 
 

bug #14601: packetizing_buffer_input() hang for small need

Submitted by:  Serguei E Leontiev <serge3leo>
Submitted on:  Tue 20 Sep 2005 07:01:44 PM UTC  
Votes:  50  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Need Info
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: 
Fixed Release: NoneFixed Feature Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 28 Oct 2005 02:40:11 AM UTC, comment #4:

P.S.

I try to minimize regression test from patch bug #14506 sainty.sh for `cvs –x’.

Serguei E Leontiev <serge3leo>
Fri 28 Oct 2005 02:38:24 AM UTC, comment #3:

Sorry, I misread this. I thought this was a bug in compression_buffer_input like bug #14840. I'll try and take a further look at this again later.

Thanks,

Derek Robert Price <dprice>
Project Administrator
Fri 28 Oct 2005 02:27:11 AM UTC, comment #2:

This bug (packetizing_buffer_input()) detected when communicate GSS-API client – gserver.

As `unsigned int’ overflow in lines:
src/buffer.c:1403 need -= copy;

and

src/buffer.c:1554 need -= tcount;

May be correct this bug #14601 – corrected bug #14840 also. But zlib correction don’t affect to GSS-API input.

I create test case for this bug #14601 on next week.

Sorry for my best English.

Serguei E Leontiev <serge3leo>
Thu 27 Oct 2005 06:22:33 PM UTC, comment #1:

I think this is a duplicate of bug #14840. Serguei, can you verify that my fix there also fixes your problem? Also, as I asked Rahul to do in that bug, could you provide a short CVS session writted in shell script which reproduces this bug?

Thanks,

Derek Robert Price <dprice>
Project Administrator
Tue 20 Sep 2005 07:01:44 PM UTC, original submission:

src/buffer.c:packetizing_buffer_input() incorrect proceesing, when agrument `need' too small.

Call it with need=1 cause hang.

Sorry for my best English
--
Seruei E. Leontiev <lse@CryptoPro.ru>

Serguei E Leontiev <serge3leo>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #3150:  cvs-1.12.12.1-buffer.patch added by serge3leo (686B - text/plain - patch to improve buffer input (SuSE 9.3 & RHEL4 - OK))

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 50 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 27 Oct 2005 06:22:33 PM UTCdpriceStatusNone=>Need Info
Sun 02 Oct 2005 06:01:30 PM UTCserge3leoCarbon-Copy-=>Added serge3leo
Sun 02 Oct 2005 05:58:26 PM UTCserge3leoCarbon-Copy-=>Added -unavailable-
Tue 20 Sep 2005 07:01:44 PM UTCserge3leoAttached File-=>Added cvs-1.12.12.1-buffer.patch, #2972
  Carbon-Copy-=>Added -unavailable-

Back to the top


Powered by Savane 3.1-cleanup1