View Issue Details

IDProjectCategoryView StatusLast Update
0000609tcshgeneralpublic2017-04-28 16:44
ReporterDmitry Chagin 
Assigned ToChristos Zoulas 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version6.20.00 
Target VersionFixed in VersionHEAD 
Summary0000609: Coverity report: Uninitialized variables
Description*** CID 1373116: Uninitialized variables (UNINIT)
/contrib/tcsh/sh.misc.c: 665 in xread()
659 /* This is where we will be blocked most of the time, so handle signals
660 that didn't interrupt any system call. */
661 do
662 if (handle_pending_signals())
663 break;
664 while ((res = read(fildes, buf, nbyte)) == -1 && errno == EINTR);
>>> CID 1373116: Uninitialized variables (UNINIT)
>>> Using uninitialized value "res".
665 return res;
666 }


*** CID 1373117: Uninitialized variables (UNINIT)
/contrib/tcsh/sh.misc.c: 693 in xwrite()
687 /* This is where we will be blocked most of the time, so handle signals
688 that didn't interrupt any system call. */
689 do
690 if (handle_pending_signals())
691 break;
692 while ((res = write(fildes, buf, nbyte)) == -1 && errno == EINTR);
>>> CID 1373117: Uninitialized variables (UNINIT)
>>> Using uninitialized value "res".
693 return res;

TagsNo tags attached.

Relationships

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2017-04-23 15:02 Dmitry Chagin New Issue
2017-04-28 16:43 Christos Zoulas Assigned To => Christos Zoulas
2017-04-28 16:43 Christos Zoulas Status new => assigned
2017-04-28 16:44 Christos Zoulas Status assigned => resolved
2017-04-28 16:44 Christos Zoulas Resolution open => fixed
2017-04-28 16:44 Christos Zoulas Fixed in Version => HEAD