Changeset 13030


Ignore:
Timestamp:
Jan 15, 2000, 4:42:49 PM (25 years ago)
Author:
sandervl
Message:

check for null pointers in lstrcmpA

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tags/trunk/src/kernel32/heapstring.cpp

    r12661 r13030  
    1 /* $Id: heapstring.cpp,v 1.23 1999-12-14 19:14:27 sandervl Exp $ */
     1/* $Id: heapstring.cpp,v 1.24 2000-01-15 15:42:49 sandervl Exp $ */
    22
    33/*
     
    189189           arg2));
    190190
    191   return O32_lstrcmp(arg1, arg2);
     191    if(arg1 == NULL)
     192      return -1;
     193    if(arg2 == NULL)
     194      return 1;
     195
     196    return O32_lstrcmp(arg1, arg2);
    192197}
    193198
Note: See TracChangeset for help on using the changeset viewer.