Ignore:
Timestamp:
Sep 15, 2000, 4:33:54 PM (25 years ago)
Author:
bird
Message:

Removed uneeded assignment to pszArg2 (initCommandLine).
(Heap corruption fix was 100% correct.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/wprocess.cpp

    r4256 r4266  
    1 /* $Id: wprocess.cpp,v 1.94 2000-09-13 21:11:00 sandervl Exp $ */
     1/* $Id: wprocess.cpp,v 1.95 2000-09-15 14:33:54 bird Exp $ */
    22
    33/*
     
    11161116        if (psz != NULL)
    11171117        {
    1118             pszArg2 = psz2 += psz - psz2 + 1;   /* + 1: space or quote. */
    1119             while (*psz2 == ' ')            /* skip blanks after argv[1]. */
     1118            psz2 += psz - psz2 + 1;     /* + 1: space or quote. */
     1119            while (*psz2 == ' ')        /* skip blanks after argv[1]. */
    11201120                psz2++;
    1121             pszArg2 = psz2;  //SvL: bugfix -> fixes heap corruption
     1121            pszArg2 = psz2;
    11221122        }
    11231123        else
Note: See TracChangeset for help on using the changeset viewer.