bugfastcgi++ - Bugs: bug #34367, uninitalized char in...

 
 

bug #34367: uninitalized char in Fastcgipp::Transceiver::wake()

Submitted by:  None
Submitted on:  Fri 23 Sep 2011 10:50:06 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Eddie Carle <eddic>
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Fri 23 Sep 2011 01:27:45 PM UTC, comment #1:

of course it should be initialized with
char x = 0;

Anonymous
Fri 23 Sep 2011 10:50:06 AM UTC, original submission:

valgrind complains about uninitialized value in Transceiver::wake().
Fix: Initialize x with {}

void Fastcgipp::Transceiver::wake()
{
- char x;
+ char x = {};
write(wakeUpFdOut, &x, 1);
}

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by eddic (Updated the item)
  •  

    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
    Sat 24 Sep 2011 06:41:42 PM UTCeddicStatusNone=>Fixed
      Assigned toNone=>eddic

    Back to the top


    Powered by Savane 3.1-cleanup