VirtualBox

Changeset 3412 in kBuild


Ignore:
Timestamp:
Aug 19, 2020 9:41:54 PM (4 years ago)
Author:
bird
Message:

kmk_redirect: Wrong index into paOrders causing sudden death in the CRT/_get_osfhandle because we hand it a -1 descriptor value. duh.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/kmkbuiltin/redirect.c

    r3332 r3412  
    10341034                    /* Duplicate the write end of any stdin pipe handles into the child. */
    10351035                    for (i = 0; i < cOrders; i++)
    1036                         if (paOrders[cOrders].fdOtherPipeEnd >= 0)
     1036                        if (paOrders[i].fdOtherPipeEnd >= 0)
    10371037                        {
    10381038                            HANDLE hIgnored = INVALID_HANDLE_VALUE;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette