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] #39687: wcsrtombs with null dest pointer doesn't
ignore len parameter (MinGW Notification List)
2. [mingw] #39687: wcsrtombs with null dest pointer doesn't
ignore len parameter (MinGW Notification List)
----------------------------------------------------------------------
Message: 1
Date: Sun, 20 Oct 2019 02:38:05 +0900
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-20 02:38
Last Update: 2019-10-20 02:38
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:
2019-10-20 02:38 Updated by: gallickgunner
* New Ticket "wcsrtombs with null dest pointer doesn't ignore len parameter"
created
---------------------------------------------------------------------
Ticket Status:
Reporter: gallickgunner
Owner: (None)
Type: Issues
Status: Open
Priority: 5 - Medium
MileStone: (None)
Component: GCC
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 (https://en.cppreference.com/w/cpp/string/multibyte/wcsrtombs)
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 (https://
sourceforge.net/p/mingw-w64/mailman/message/34751152/)
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: 2
Date: Sun, 20 Oct 2019 02:53:24 +0900
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-20 02:38
Last Update: 2019-10-20 02:53
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:
2019-10-20 02:53 Updated by: gallickgunner
* Details Updated
---------------------------------------------------------------------
Ticket Status:
Reporter: gallickgunner
Owner: (None)
Type: Issues
Status: Open
Priority: 5 - Medium
MileStone: (None)
Component: GCC
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 (https://en.cppreference.com/w/cpp/string/multibyte/wcsrtombs)
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 (https://
sourceforge.net/p/mingw-w64/mailman/message/34751152/) 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 25, Issue 11
********************************************