Send MinGW-Notify mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.osdn.me/mailman/listinfo/mingw-notify
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of MinGW-Notify digest..."


Please do not reply to this notification; the sender address is unable to 
accept incoming e-mail.  If you wish to unsubscribe you can do so at 
https://lists.osdn.me/mailman/listinfo/mingw-notify.



Today's Topics:

   1. [mingw] #40696: MSVCRT.DLL's _pgmptr variable is unitialized
      by MinGW start-up code (MinGW Notification List)
   2. [mingw] #40696: MSVCRT.DLL's _pgmptr variable is unitialized
      by MinGW start-up code (MinGW Notification List)
   3. [mingw] #40696: MSVCRT.DLL's _pgmptr variable is
      uninitialized by MinGW start-up code (MinGW Notification List)


----------------------------------------------------------------------

Message: 1
Date: Mon, 31 Aug 2020 23:32:27 +0100
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #40696: MSVCRT.DLL's _pgmptr variable
        is unitialized by MinGW start-up code
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

#40696: MSVCRT.DLL's _pgmptr variable is unitialized by MinGW start-up code

  Open Date: 2020-08-31 23:32
Last Update: 2020-08-31 23:32

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/40696
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=40696

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2020-08-31 23:32 Updated by: keith
 * New Ticket "MSVCRT.DLL's _pgmptr variable is unitialized by MinGW start-up
code" created



---------------------------------------------------------------------
Ticket Status:

      Reporter: keith
         Owner: keith
          Type: Issues
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: (None)
     Component: WSL
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

According to Microsoft's GetModulePathNameA() function documentation:

The global variable _pgmptr is automatically initialized to the full path of 
the executable file,
and can be used to retrieve the full path name of an executable file.

It appears that this global variable initialization occurs, only if the
run-time start-up code calls Microsoft's getmainargs() function, but that
exhibits defective globbing of wild-card patterns, and MinGW has not used it,
as a default start-up hook, since the release of mingwrt-3.21, in December
2014. Consequently, references to _pgmptr, in code linked against mingwrt-3.21
(and later), are likely to dereference a NULL pointer.



-- 
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN

Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/mingw/ticket/40696
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=40696


------------------------------

Message: 2
Date: Mon, 31 Aug 2020 23:33:35 +0100
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #40696: MSVCRT.DLL's _pgmptr variable
        is unitialized by MinGW start-up code
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

#40696: MSVCRT.DLL's _pgmptr variable is unitialized by MinGW start-up code

  Open Date: 2020-08-31 23:32
Last Update: 2020-08-31 23:33

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/40696
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=40696

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2020-08-31 23:33 Updated by: keith
 * Details Updated



---------------------------------------------------------------------
Ticket Status:

      Reporter: keith
         Owner: keith
          Type: Issues
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: (None)
     Component: WSL
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

According to Microsoft's GetModulePathNameA() function documentation:

The global variable _pgmptr is automatically initialized to the full path of 
the executable file,
and can be used to retrieve the full path name of an executable file.

It appears that this global variable initialization occurs, only if the
run-time start-up code calls Microsoft's __getmainargs() function, but that
exhibits defective globbing of wild-card patterns, and MinGW has not used it,
as a default start-up hook, since the release of mingwrt-3.21, in December
2014. Consequently, references to _pgmptr, in code linked against mingwrt-3.21
(and later), are likely to dereference a NULL pointer.



-- 
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN

Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/mingw/ticket/40696
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=40696


------------------------------

Message: 3
Date: Mon, 31 Aug 2020 23:35:55 +0100
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #40696: MSVCRT.DLL's _pgmptr variable
        is uninitialized by MinGW start-up code
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

#40696: MSVCRT.DLL's _pgmptr variable is uninitialized by MinGW start-up code

  Open Date: 2020-08-31 23:32
Last Update: 2020-08-31 23:35

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/40696
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=40696

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2020-08-31 23:35 Updated by: keith
 * Summary Updated



---------------------------------------------------------------------
Ticket Status:

      Reporter: keith
         Owner: keith
          Type: Issues
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: (None)
     Component: WSL
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

According to Microsoft's GetModulePathNameA() function documentation:

The global variable _pgmptr is automatically initialized to the full path of 
the executable file,
and can be used to retrieve the full path name of an executable file.

It appears that this global variable initialization occurs, only if the
run-time start-up code calls Microsoft's __getmainargs() function, but that
exhibits defective globbing of wild-card patterns, and MinGW has not used it,
as a default start-up hook, since the release of mingwrt-3.21, in December
2014. Consequently, references to _pgmptr, in code linked against mingwrt-3.21
(and later), are likely to dereference a NULL pointer.



-- 
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN

Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/mingw/ticket/40696
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=40696


------------------------------

Subject: Digest Footer

_______________________________________________
MinGW-Notify mailing list
[email protected]
https://lists.osdn.me/mailman/listinfo/mingw-notify


------------------------------

End of MinGW-Notify Digest, Vol 36, Issue 1
*******************************************

Reply via email to