Changeset abf3892c in rtems


Ignore:
Timestamp:
Nov 20, 2014, 11:22:22 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
ed4c556
Parents:
e8abdfb
git-author:
Joel Sherrill <joel.sherrill@…> (11/20/14 23:22:22)
git-committer:
Joel Sherrill <joel.sherrill@…> (11/21/14 19:13:22)
Message:

pipe/fifo.c: NULL dereference flagged by Coverity ID 1063889

It does not appear that this is possible so adding an assert.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libfs/src/pipe/fifo.c

    re8abdfb rabf3892c  
    213213  int err = 0;
    214214
     215  _Assert( pipep );
    215216  err = pipe_lock();
    216217  if (err)
     
    224225  }
    225226
    226   if (! PIPE_LOCK(pipe))
     227  if (!PIPE_LOCK(pipe))
    227228    err = -EINTR;
    228229
Note: See TracChangeset for help on using the changeset viewer.