Changeset 62e080e in rtems


Ignore:
Timestamp:
Jan 27, 2003, 4:13:28 PM (17 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
f6c2c30
Parents:
7210dcb4
Message:

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

  • monitor/mon-command.c: Correct two potential NULL references.
Location:
cpukit/libmisc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/ChangeLog

    r7210dcb4 r62e080e  
     12003-01-27      Dan Smisko <dan@balanced.com>
     2
     3        * monitor/mon-command.c: Correct two potential NULL references.
     4
    152002-01-25      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    26
  • cpukit/libmisc/monitor/mon-command.c

    r7210dcb4 r62e080e  
    552552  if (found_it)
    553553  {
    554     if (table->command_function == 0)
     554    if (found_it->command_function == 0)
    555555      return 0;
    556556
     
    687687  while (command)
    688688  {
    689     int len = strlen (command->command);
     689    int len = command->command ? strlen (command->command) : 0 ;
    690690
    691691    if (len > max_cmd_len)
Note: See TracChangeset for help on using the changeset viewer.