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] #40267: older version of MSYS dos2unix installed
      (MinGW Notification List)
   2. [mingw] #39687: wcsrtombs with NULL dest pointer doesn't
      ignore len parameter (MinGW Notification List)
   3. [SCM] mingw-org-wsl (mingw) branch, 5.3-trunk, updated.
      f5d6023e3e3bd38f5e347fec853e6967228261ed (MinGW Notification List)
   4. [mingw] #39687: wcsrtombs with NULL dest pointer doesn't
      ignore len parameter (MinGW Notification List)


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

Message: 1
Date: Thu, 19 Mar 2020 18:05:02 +0900
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #40267: older version of MSYS dos2unix
        installed
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

#40267: older version of MSYS dos2unix installed

  Open Date: 2020-03-19 18:05
Last Update: 2020-03-19 18:05

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

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

Last Changes/Comment on this Ticket:
2020-03-19 18:05 Updated by: tamir_evan
 * New Ticket "older version of MSYS dos2unix installed" created



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

      Reporter: tamir_evan
         Owner: (None)
          Type: Issues
        Status: Open
      Priority: 5 - Medium
     MileStone: (None)
     Component: INSTALLER
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

If I download the installer from SourceForge (https://sourceforge.net/projects/
mingw/files/Installer/mingw-get-setup.exe/download ), run it, and when I get to
the MinGW Installation Manager GUI I choose to install msys-dos2unix, version
7.4.0 gets installed

If I download the installer from OSDN (https://osdn.net/projects/mingw/
downloads/68260/mingw-get-setup.exe/ ), run it, and when I get to the MinGW
Installation Manager GUI I choose to install msys-dos2unix, version 7.3.2 gets
installed.

Running mingw-get update, then migw-get upgrade, doesn't seem to affect the
version installed.

Curiously, looking at my local copy of msys-dos2unix.xml (C:\MinGW\var\lib\
mingw-get\data\msys-dos2unix.xml), I see dos2unix-7.3.2-1 as the most recent
version, whereas in the source code online (https://osdn.net/projects/mingw/scm
/git/mingw-dist/blobs/5a8b6b0ff835e46186af512c4adbc0cbd96662ba/msys/
msys-dos2unix.xml ), dos2unix-7.4.0-1 is the most recent version.



-- 
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/40267
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=40267


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

Message: 2
Date: Thu, 19 Mar 2020 21:42:30 +0000
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #39687: wcsrtombs with NULL dest
        pointer doesn't ignore len parameter
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

#39687: wcsrtombs with NULL dest pointer doesn't ignore len parameter

  Open Date: 2019-10-19 17:38
Last Update: 2020-03-19 21:42

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

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

Last Changes/Comment on this Ticket:
2020-03-19 21:42 Updated by: keith

Comment:

Due to my misinterpretation of Microsoft's documentation, the mingwrt-5.3
implementation of btowc() may incorrectly return 0xFFFD, when it should return
WEOF, if the byte to be converted is not valid as a single byte character in
the active codeset. This is corrected, in the repository, for whenever
mingwrt-5.3.1 is published.



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

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

Ticket details:

I'm using MinGW-gcc-6.3.0. The wcsrtombs() function as mentioned in the docs on
cppreference should return the number of bytes that would have been written to
src. However it doesn't do so on my end. It seems the implementation doesn't
ignore the length parameter when dest is passed as NULL? A similar issue was
reported and presumably fixed for the Mingw-w64 on the sourceforge site
Currently working around by passing INT_MAX as the length parameter, so it
finishes within the limit and returns the size.

I apologize in advance if this is just an issue from my end or if any other
info is missing. First time submitting a ticket :)



-- 
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/39687
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39687


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

Message: 3
Date: Fri, 20 Mar 2020 06:50:53 +0900
From: MinGW Notification List <[email protected]>
To: [email protected]
Subject: [MinGW-Notify] [SCM] mingw-org-wsl (mingw) branch, 5.3-trunk,
        updated. f5d6023e3e3bd38f5e347fec853e6967228261ed
Message-ID: <[email protected]>

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to "mingw-org-wsl" repository
containing the "mingw" project.

The branch, 5.3-trunk has been updated
       via  f5d6023e3e3bd38f5e347fec853e6967228261ed (commit)
      from  92c9c73c5a85fb74ad7586fcf6243d0a777a6c25 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f5d6023e3e3bd38f5e347fec853e6967228261ed
Author: Keith Marshall <[email protected]>
Date:   Thu Mar 19 21:17:25 2020 +0000

    Correct a potential mbsrtowcs() surrogate pair overrun.

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

Summary of changes:
 mingwrt/ChangeLog         |  7 +++++++
 mingwrt/mingwex/mbrscan.c | 49 ++++++++++++++++++++++++++++++++++++++++-------
 2 files changed, 49 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
mingw-org-wsl (mingw)



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

Message: 4
Date: Thu, 19 Mar 2020 22:04:52 +0000
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #39687: wcsrtombs with NULL dest
        pointer doesn't ignore len parameter
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

#39687: wcsrtombs with NULL dest pointer doesn't ignore len parameter

  Open Date: 2019-10-19 17:38
Last Update: 2020-03-19 22:04

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

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

Last Changes/Comment on this Ticket:
2020-03-19 22:04 Updated by: keith

Comment:

I've identified a further issue, this time with the mingwrt-5.3 implementation
of mbsrtowcs(); if the cumulative count of wide characters stored reaches
exactly one less than the nominated buffer length, and conversion of the next
multibyte character results in a surrogate pair, this is stored anyway, causing
a buffer overrun by one wide character. This too, is now corrected in the
repository, for inclusion in mingwrt-5.3.1.



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

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

Ticket details:

I'm using MinGW-gcc-6.3.0. The wcsrtombs() function as mentioned in the docs on
cppreference should return the number of bytes that would have been written to
src. However it doesn't do so on my end. It seems the implementation doesn't
ignore the length parameter when dest is passed as NULL? A similar issue was
reported and presumably fixed for the Mingw-w64 on the sourceforge site
Currently working around by passing INT_MAX as the length parameter, so it
finishes within the limit and returns the size.

I apologize in advance if this is just an issue from my end or if any other
info is missing. First time submitting a ticket :)



-- 
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/39687
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39687


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

Subject: Digest Footer

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


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

End of MinGW-Notify Digest, Vol 30, Issue 9
*******************************************

Reply via email to