bugmonotone - Bugs: bug #15062, monotone automate stdio uses...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #15062: monotone automate stdio uses read() with incorrect error handling

Submitted by:  Grahame Bowland <grahame>
Submitted on:  Fri 25 Nov 2005 06:05:06 PM UTC  
 
Category: error handlingSeverity: 2 - Minor
Item Group: incorrect behaviorStatus: Fixed
Privacy: PublicAssigned to: Grahame Bowland <grahame>
Open/Closed: Closed
mtn version --full: 

monotone 0.23 (base revision: d1bc2a3cdfd6f7852ce822cb922c4300e789553c)

Tue 06 Dec 2005 01:45:45 PM UTC, comment #1:

Fixed a while ago, wrapped read() with a function that throws appropriate exception if an error occurs.

Grahame Bowland <grahame>
Project MemberIn charge of this item.
Fri 25 Nov 2005 06:05:06 PM UTC, original submission:

read() returns < 0 to indicate error.
If this were to happen, eg. EINTR then various buffer counters would go backwards.
Make sure read() return values are checked appropriately.

Grahame Bowland <grahame>
Project MemberIn charge of this item.

 

No files currently attached

 

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 0 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 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 06 Dec 2005 01:45:45 PM UTCgrahameStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1