Changeset 6b5519a in rtems


Ignore:
Timestamp:
Nov 28, 2000, 9:53:48 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
f5f31dd
Parents:
e23afc3
Message:

2000-11-28 Joel Sherrill <joel@…>

  • src/imfs/memfile.c: Bug report from Sturniolo Jose <jsturnio@…> where NULL pointer was dereferenced.
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/libfs/ChangeLog

    re23afc3 r6b5519a  
     12000-11-28      Joel Sherrill <joel@OARcorp.com>
     2
     3        * src/imfs/memfile.c: Bug report from Sturniolo Jose
     4        <jsturnio@nec.com.ar> where NULL pointer was dereferenced.
     5
    162000-11-17      Jennifer Averret <jennifer@OARcorp.com>
    27
  • c/src/exec/libfs/src/imfs/memfile.c

    re23afc3 r6b5519a  
    500500    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {
    501501      p = (block_p *) info->triply_indirect[i];
     502      if (!p)  /* ensure we have a valid pointer */
     503        break;
    502504      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {
    503505        if ( p[j] ) {
  • c/src/libfs/ChangeLog

    re23afc3 r6b5519a  
     12000-11-28      Joel Sherrill <joel@OARcorp.com>
     2
     3        * src/imfs/memfile.c: Bug report from Sturniolo Jose
     4        <jsturnio@nec.com.ar> where NULL pointer was dereferenced.
     5
    162000-11-17      Jennifer Averret <jennifer@OARcorp.com>
    27
  • c/src/libfs/src/imfs/memfile.c

    re23afc3 r6b5519a  
    500500    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {
    501501      p = (block_p *) info->triply_indirect[i];
     502      if (!p)  /* ensure we have a valid pointer */
     503        break;
    502504      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {
    503505        if ( p[j] ) {
  • cpukit/libfs/ChangeLog

    re23afc3 r6b5519a  
     12000-11-28      Joel Sherrill <joel@OARcorp.com>
     2
     3        * src/imfs/memfile.c: Bug report from Sturniolo Jose
     4        <jsturnio@nec.com.ar> where NULL pointer was dereferenced.
     5
    162000-11-17      Jennifer Averret <jennifer@OARcorp.com>
    27
  • cpukit/libfs/src/imfs/memfile.c

    re23afc3 r6b5519a  
    500500    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {
    501501      p = (block_p *) info->triply_indirect[i];
     502      if (!p)  /* ensure we have a valid pointer */
     503        break;
    502504      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {
    503505        if ( p[j] ) {
Note: See TracChangeset for help on using the changeset viewer.