Changeset f6c2c30 in rtems


Ignore:
Timestamp:
Jan 27, 2003, 4:16:26 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
9d647dfc
Parents:
62e080e
Message:

2003-01-27 Dan Smisko <dan@…>

  • stackchk/check.c: Fix problem where _Objects_Get_information() will dereference a null pointer when checking the interrupt stack. If there's something at 0, you may be ok at run time but it is wrong.
Location:
cpukit/libmisc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/ChangeLog

    r62e080e rf6c2c30  
     12003-01-27      Dan Smisko <dan@balanced.com>
     2
     3        * stackchk/check.c: Fix problem where _Objects_Get_information()
     4        will dereference a null pointer when checking the interrupt stack.
     5        If there's something at 0, you may be ok at run time but it is wrong.
     6
    172003-01-27      Dan Smisko <dan@balanced.com>
    28
  • cpukit/libmisc/stackchk/check.c

    r62e080e rf6c2c30  
    455455    used = 0;
    456456
    457   info = _Objects_Get_information(the_thread->Object.id);
    458457  name = name_str;
    459458  if ( the_thread ) {
     459    info = _Objects_Get_information(the_thread->Object.id);
    460460    if ( info->is_string ) {
    461461      name = (char *) the_thread->Object.name;
Note: See TracChangeset for help on using the changeset viewer.