public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug string/28755] New: overflow bug in wcsncmp_avx2 and wcsncmp_evex
@ 2022-01-09 10:30 goldstein.w.n at gmail dot com
  2022-01-09 14:07 ` [Bug string/28755] " hjl.tools at gmail dot com
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: goldstein.w.n at gmail dot com @ 2022-01-09 10:30 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28755

            Bug ID: 28755
           Summary: overflow bug in wcsncmp_avx2 and wcsncmp_evex
           Product: glibc
           Version: 2.34
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: string
          Assignee: unassigned at sourceware dot org
          Reporter: goldstein.w.n at gmail dot com
  Target Milestone: ---

Similiar to [BZ 27974](https://sourceware.org/bugzilla/show_bug.cgi?id=27974).
The multiply of length by sizeof (wchar_t) can overflow if length is >= 2^62
which can lead to incorrect results.

For example:

#include <wchar.h>
int
main(int argc, char ** argv) {
    assert(__wcsncmp_evex(L"abc", L"abd", (1UL << 62)) != 0);
    assert(__wcsncmp_avx2(L"abc", L"abd", (1UL << 62)) != 0);
}

Will fail on either assert.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug string/28755] overflow bug in wcsncmp_avx2 and wcsncmp_evex
  2022-01-09 10:30 [Bug string/28755] New: overflow bug in wcsncmp_avx2 and wcsncmp_evex goldstein.w.n at gmail dot com
@ 2022-01-09 14:07 ` hjl.tools at gmail dot com
  2022-01-10  0:29 ` goldstein.w.n at gmail dot com
                   ` (18 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: hjl.tools at gmail dot com @ 2022-01-09 14:07 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28755

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl.tools at gmail dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug string/28755] overflow bug in wcsncmp_avx2 and wcsncmp_evex
  2022-01-09 10:30 [Bug string/28755] New: overflow bug in wcsncmp_avx2 and wcsncmp_evex goldstein.w.n at gmail dot com
  2022-01-09 14:07 ` [Bug string/28755] " hjl.tools at gmail dot com
@ 2022-01-10  0:29 ` goldstein.w.n at gmail dot com
  2022-01-11  3:07 ` goldstein.w.n at gmail dot com
                   ` (17 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: goldstein.w.n at gmail dot com @ 2022-01-10  0:29 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28755

--- Comment #1 from Noah Goldstein <goldstein.w.n at gmail dot com> ---
Fix proposed in the following patches:

avx2:
https://patchwork.sourceware.org/project/glibc/patch/20220110002746.3653516-1-goldstein.w.n@gmail.com/
evex:
https://patchwork.sourceware.org/project/glibc/patch/20220110002746.3653516-2-goldstein.w.n@gmail.com/

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug string/28755] overflow bug in wcsncmp_avx2 and wcsncmp_evex
  2022-01-09 10:30 [Bug string/28755] New: overflow bug in wcsncmp_avx2 and wcsncmp_evex goldstein.w.n at gmail dot com
  2022-01-09 14:07 ` [Bug string/28755] " hjl.tools at gmail dot com
  2022-01-10  0:29 ` goldstein.w.n at gmail dot com
@ 2022-01-11  3:07 ` goldstein.w.n at gmail dot com
  2022-01-27  4:24 ` cvs-commit at gcc dot gnu.org
                   ` (16 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: goldstein.w.n at gmail dot com @ 2022-01-11  3:07 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28755

Noah Goldstein <goldstein.w.n at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Noah Goldstein <goldstein.w.n at gmail dot com> ---
Fixed in

commit ddf0992cf57a93200e0c782e2a94d0733a5a0b87
Author: Noah Goldstein <goldstein.w.n@gmail.com>
Date:   Sun Jan 9 16:02:21 2022 -0600

    x86: Fix __wcsncmp_avx2 in strcmp-avx2.S [BZ# 28755]


and 


commit 7e08db3359c86c94918feb33a1182cd0ff3bb10b
Author: Noah Goldstein <goldstein.w.n@gmail.com>
Date:   Sun Jan 9 16:02:28 2022 -0600

    x86: Fix __wcsncmp_evex in strcmp-evex.S [BZ# 28755]

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug string/28755] overflow bug in wcsncmp_avx2 and wcsncmp_evex
  2022-01-09 10:30 [Bug string/28755] New: overflow bug in wcsncmp_avx2 and wcsncmp_evex goldstein.w.n at gmail dot com
                   ` (2 preceding siblings ...)
  2022-01-11  3:07 ` goldstein.w.n at gmail dot com
@ 2022-01-27  4:24 ` cvs-commit at gcc dot gnu.org
  2022-01-27  4:58 ` cvs-commit at gcc dot gnu.org
                   ` (15 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-01-27  4:24 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28755

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The release/2.34/master branch has been updated by H.J. Lu
<hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=72123e1b56f53f9205bb105f8a62d0869b837b22

commit 72123e1b56f53f9205bb105f8a62d0869b837b22
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jan 26 20:20:43 2022 -0800

    NEWS: Add a bug entry for BZ #28755

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug string/28755] overflow bug in wcsncmp_avx2 and wcsncmp_evex
  2022-01-09 10:30 [Bug string/28755] New: overflow bug in wcsncmp_avx2 and wcsncmp_evex goldstein.w.n at gmail dot com
                   ` (3 preceding siblings ...)
  2022-01-27  4:24 ` cvs-commit at gcc dot gnu.org
@ 2022-01-27  4:58 ` cvs-commit at gcc dot gnu.org
  2022-01-27 13:14 ` cvs-commit at gcc dot gnu.org
                   ` (14 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-01-27  4:58 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28755

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The release/2.33/master branch has been updated by H.J. Lu
<hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=86c153d0922a6da3263f0ade42573bd405d8edee

commit 86c153d0922a6da3263f0ade42573bd405d8edee
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jan 26 20:28:51 2022 -0800

    NEWS: Add a bug fix entry for BZ #28755

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug string/28755] overflow bug in wcsncmp_avx2 and wcsncmp_evex
  2022-01-09 10:30 [Bug string/28755] New: overflow bug in wcsncmp_avx2 and wcsncmp_evex goldstein.w.n at gmail dot com
                   ` (4 preceding siblings ...)
  2022-01-27  4:58 ` cvs-commit at gcc dot gnu.org
@ 2022-01-27 13:14 ` cvs-commit at gcc dot gnu.org
  2022-01-27 13:29 ` cvs-commit at gcc dot gnu.org
                   ` (13 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-01-27 13:14 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28755

--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The release/2.32/master branch has been updated by H.J. Lu
<hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=40eebb02ccbc2d621e796795d5994fe7483b679f

commit 40eebb02ccbc2d621e796795d5994fe7483b679f
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jan 26 21:00:25 2022 -0800

    NEWS: Add a bug fix entry for BZ #28755

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug string/28755] overflow bug in wcsncmp_avx2 and wcsncmp_evex
  2022-01-09 10:30 [Bug string/28755] New: overflow bug in wcsncmp_avx2 and wcsncmp_evex goldstein.w.n at gmail dot com
                   ` (5 preceding siblings ...)
  2022-01-27 13:14 ` cvs-commit at gcc dot gnu.org
@ 2022-01-27 13:29 ` cvs-commit at gcc dot gnu.org
  2022-01-27 13:33 ` cvs-commit at gcc dot gnu.org
                   ` (12 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-01-27 13:29 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28755

--- Comment #6 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The release/2.31/master branch has been updated by H.J. Lu
<hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5b136510856f3742b58eb5e2de0cada7e9e95630

commit 5b136510856f3742b58eb5e2de0cada7e9e95630
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Jan 27 05:16:30 2022 -0800

    NEWS: Add a bug fix entry for BZ #28755

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug string/28755] overflow bug in wcsncmp_avx2 and wcsncmp_evex
  2022-01-09 10:30 [Bug string/28755] New: overflow bug in wcsncmp_avx2 and wcsncmp_evex goldstein.w.n at gmail dot com
                   ` (6 preceding siblings ...)
  2022-01-27 13:29 ` cvs-commit at gcc dot gnu.org
@ 2022-01-27 13:33 ` cvs-commit at gcc dot gnu.org
  2022-01-27 15:28 ` cvs-commit at gcc dot gnu.org
                   ` (11 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-01-27 13:33 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28755

--- Comment #7 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The release/2.30/master branch has been updated by H.J. Lu
<hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9d868841f870c22c05e5ce11900afc9abd8fda02

commit 9d868841f870c22c05e5ce11900afc9abd8fda02
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Jan 27 05:31:02 2022 -0800

    NEWS: Add a bug fix entry for BZ #28755

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug string/28755] overflow bug in wcsncmp_avx2 and wcsncmp_evex
  2022-01-09 10:30 [Bug string/28755] New: overflow bug in wcsncmp_avx2 and wcsncmp_evex goldstein.w.n at gmail dot com
                   ` (7 preceding siblings ...)
  2022-01-27 13:33 ` cvs-commit at gcc dot gnu.org
@ 2022-01-27 15:28 ` cvs-commit at gcc dot gnu.org
  2022-01-27 16:12 ` cvs-commit at gcc dot gnu.org
                   ` (10 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-01-27 15:28 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28755

--- Comment #8 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The release/2.29/master branch has been updated by H.J. Lu
<hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=2f3fb944b311b67e609ed79478cc1737f6066af9

commit 2f3fb944b311b67e609ed79478cc1737f6066af9
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Jan 27 05:34:02 2022 -0800

    NEWS: Add a bug fix entry for BZ #28755

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug string/28755] overflow bug in wcsncmp_avx2 and wcsncmp_evex
  2022-01-09 10:30 [Bug string/28755] New: overflow bug in wcsncmp_avx2 and wcsncmp_evex goldstein.w.n at gmail dot com
                   ` (8 preceding siblings ...)
  2022-01-27 15:28 ` cvs-commit at gcc dot gnu.org
@ 2022-01-27 16:12 ` cvs-commit at gcc dot gnu.org
  2022-01-27 16:14 ` hjl.tools at gmail dot com
                   ` (9 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-01-27 16:12 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28755

--- Comment #9 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The release/2.28/master branch has been updated by H.J. Lu
<hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=43c27a754bd417726032006d0a564d946994554e

commit 43c27a754bd417726032006d0a564d946994554e
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Jan 27 07:30:10 2022 -0800

    NEWS: Add a bug fix entry for BZ #28755

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug string/28755] overflow bug in wcsncmp_avx2 and wcsncmp_evex
  2022-01-09 10:30 [Bug string/28755] New: overflow bug in wcsncmp_avx2 and wcsncmp_evex goldstein.w.n at gmail dot com
                   ` (9 preceding siblings ...)
  2022-01-27 16:12 ` cvs-commit at gcc dot gnu.org
@ 2022-01-27 16:14 ` hjl.tools at gmail dot com
  2022-02-17 19:04 ` cvs-commit at gcc dot gnu.org
                   ` (8 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: hjl.tools at gmail dot com @ 2022-01-27 16:14 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28755

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.35

--- Comment #10 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed for 2.35 and all release branches.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug string/28755] overflow bug in wcsncmp_avx2 and wcsncmp_evex
  2022-01-09 10:30 [Bug string/28755] New: overflow bug in wcsncmp_avx2 and wcsncmp_evex goldstein.w.n at gmail dot com
                   ` (10 preceding siblings ...)
  2022-01-27 16:14 ` hjl.tools at gmail dot com
@ 2022-02-17 19:04 ` cvs-commit at gcc dot gnu.org
  2022-02-17 19:14 ` cvs-commit at gcc dot gnu.org
                   ` (7 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-02-17 19:04 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28755

--- Comment #11 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=aa5a720056d37cf24924c138a3dbe6dace98e97c

commit aa5a720056d37cf24924c138a3dbe6dace98e97c
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Feb 17 08:10:35 2022 -0800

    string: Add a testcase for wcsncmp with SIZE_MAX [BZ #28755]

    Verify that wcsncmp (L("abc"), L("abd"), SIZE_MAX) == 0.  The new test
    fails without

    commit ddf0992cf57a93200e0c782e2a94d0733a5a0b87
    Author: Noah Goldstein <goldstein.w.n@gmail.com>
    Date:   Sun Jan 9 16:02:21 2022 -0600

        x86: Fix __wcsncmp_avx2 in strcmp-avx2.S [BZ# 28755]

    and

    commit 7e08db3359c86c94918feb33a1182cd0ff3bb10b
    Author: Noah Goldstein <goldstein.w.n@gmail.com>
    Date:   Sun Jan 9 16:02:28 2022 -0600

        x86: Fix __wcsncmp_evex in strcmp-evex.S [BZ# 28755]

    This is for BZ #28755.

    Reviewed-by: Sunil K Pandey <skpgkp2@gmail.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug string/28755] overflow bug in wcsncmp_avx2 and wcsncmp_evex
  2022-01-09 10:30 [Bug string/28755] New: overflow bug in wcsncmp_avx2 and wcsncmp_evex goldstein.w.n at gmail dot com
                   ` (11 preceding siblings ...)
  2022-02-17 19:04 ` cvs-commit at gcc dot gnu.org
@ 2022-02-17 19:14 ` cvs-commit at gcc dot gnu.org
  2022-02-17 19:22 ` cvs-commit at gcc dot gnu.org
                   ` (6 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-02-17 19:14 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28755

--- Comment #12 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The release/2.35/master branch has been updated by H.J. Lu
<hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a30807b7db924d31681e9c6e98e78f2f46a2640c

commit a30807b7db924d31681e9c6e98e78f2f46a2640c
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Feb 17 08:10:35 2022 -0800

    string: Add a testcase for wcsncmp with SIZE_MAX [BZ #28755]

    Verify that wcsncmp (L("abc"), L("abd"), SIZE_MAX) == 0.  The new test
    fails without

    commit ddf0992cf57a93200e0c782e2a94d0733a5a0b87
    Author: Noah Goldstein <goldstein.w.n@gmail.com>
    Date:   Sun Jan 9 16:02:21 2022 -0600

        x86: Fix __wcsncmp_avx2 in strcmp-avx2.S [BZ# 28755]

    and

    commit 7e08db3359c86c94918feb33a1182cd0ff3bb10b
    Author: Noah Goldstein <goldstein.w.n@gmail.com>
    Date:   Sun Jan 9 16:02:28 2022 -0600

        x86: Fix __wcsncmp_evex in strcmp-evex.S [BZ# 28755]

    This is for BZ #28755.

    Reviewed-by: Sunil K Pandey <skpgkp2@gmail.com>

    (cherry picked from commit aa5a720056d37cf24924c138a3dbe6dace98e97c)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug string/28755] overflow bug in wcsncmp_avx2 and wcsncmp_evex
  2022-01-09 10:30 [Bug string/28755] New: overflow bug in wcsncmp_avx2 and wcsncmp_evex goldstein.w.n at gmail dot com
                   ` (12 preceding siblings ...)
  2022-02-17 19:14 ` cvs-commit at gcc dot gnu.org
@ 2022-02-17 19:22 ` cvs-commit at gcc dot gnu.org
  2022-02-17 19:27 ` cvs-commit at gcc dot gnu.org
                   ` (5 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-02-17 19:22 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28755

--- Comment #13 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The release/2.34/master branch has been updated by H.J. Lu
<hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=04d60ce0f21ffe2a4add148cb37a1942dbad64e2

commit 04d60ce0f21ffe2a4add148cb37a1942dbad64e2
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Feb 17 08:10:35 2022 -0800

    string: Add a testcase for wcsncmp with SIZE_MAX [BZ #28755]

    Verify that wcsncmp (L("abc"), L("abd"), SIZE_MAX) == 0.  The new test
    fails without

    commit ddf0992cf57a93200e0c782e2a94d0733a5a0b87
    Author: Noah Goldstein <goldstein.w.n@gmail.com>
    Date:   Sun Jan 9 16:02:21 2022 -0600

        x86: Fix __wcsncmp_avx2 in strcmp-avx2.S [BZ# 28755]

    and

    commit 7e08db3359c86c94918feb33a1182cd0ff3bb10b
    Author: Noah Goldstein <goldstein.w.n@gmail.com>
    Date:   Sun Jan 9 16:02:28 2022 -0600

        x86: Fix __wcsncmp_evex in strcmp-evex.S [BZ# 28755]

    This is for BZ #28755.

    Reviewed-by: Sunil K Pandey <skpgkp2@gmail.com>

    (cherry picked from commit aa5a720056d37cf24924c138a3dbe6dace98e97c)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug string/28755] overflow bug in wcsncmp_avx2 and wcsncmp_evex
  2022-01-09 10:30 [Bug string/28755] New: overflow bug in wcsncmp_avx2 and wcsncmp_evex goldstein.w.n at gmail dot com
                   ` (13 preceding siblings ...)
  2022-02-17 19:22 ` cvs-commit at gcc dot gnu.org
@ 2022-02-17 19:27 ` cvs-commit at gcc dot gnu.org
  2022-02-17 19:32 ` cvs-commit at gcc dot gnu.org
                   ` (4 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-02-17 19:27 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28755

--- Comment #14 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The release/2.33/master branch has been updated by H.J. Lu
<hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=cb922428dc7c5260ea84de482ffe05d2ea766199

commit cb922428dc7c5260ea84de482ffe05d2ea766199
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Feb 17 08:10:35 2022 -0800

    string: Add a testcase for wcsncmp with SIZE_MAX [BZ #28755]

    Verify that wcsncmp (L("abc"), L("abd"), SIZE_MAX) == 0.  The new test
    fails without

    commit ddf0992cf57a93200e0c782e2a94d0733a5a0b87
    Author: Noah Goldstein <goldstein.w.n@gmail.com>
    Date:   Sun Jan 9 16:02:21 2022 -0600

        x86: Fix __wcsncmp_avx2 in strcmp-avx2.S [BZ# 28755]

    and

    commit 7e08db3359c86c94918feb33a1182cd0ff3bb10b
    Author: Noah Goldstein <goldstein.w.n@gmail.com>
    Date:   Sun Jan 9 16:02:28 2022 -0600

        x86: Fix __wcsncmp_evex in strcmp-evex.S [BZ# 28755]

    This is for BZ #28755.

    Reviewed-by: Sunil K Pandey <skpgkp2@gmail.com>

    (cherry picked from commit aa5a720056d37cf24924c138a3dbe6dace98e97c)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug string/28755] overflow bug in wcsncmp_avx2 and wcsncmp_evex
  2022-01-09 10:30 [Bug string/28755] New: overflow bug in wcsncmp_avx2 and wcsncmp_evex goldstein.w.n at gmail dot com
                   ` (14 preceding siblings ...)
  2022-02-17 19:27 ` cvs-commit at gcc dot gnu.org
@ 2022-02-17 19:32 ` cvs-commit at gcc dot gnu.org
  2022-02-17 19:40 ` cvs-commit at gcc dot gnu.org
                   ` (3 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-02-17 19:32 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28755

--- Comment #15 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The release/2.32/master branch has been updated by H.J. Lu
<hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0f8a2390000c4e9a152b5f6cf8220f2560c01e74

commit 0f8a2390000c4e9a152b5f6cf8220f2560c01e74
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Feb 17 08:10:35 2022 -0800

    string: Add a testcase for wcsncmp with SIZE_MAX [BZ #28755]

    Verify that wcsncmp (L("abc"), L("abd"), SIZE_MAX) == 0.  The new test
    fails without

    commit ddf0992cf57a93200e0c782e2a94d0733a5a0b87
    Author: Noah Goldstein <goldstein.w.n@gmail.com>
    Date:   Sun Jan 9 16:02:21 2022 -0600

        x86: Fix __wcsncmp_avx2 in strcmp-avx2.S [BZ# 28755]

    and

    commit 7e08db3359c86c94918feb33a1182cd0ff3bb10b
    Author: Noah Goldstein <goldstein.w.n@gmail.com>
    Date:   Sun Jan 9 16:02:28 2022 -0600

        x86: Fix __wcsncmp_evex in strcmp-evex.S [BZ# 28755]

    This is for BZ #28755.

    Reviewed-by: Sunil K Pandey <skpgkp2@gmail.com>

    (cherry picked from commit aa5a720056d37cf24924c138a3dbe6dace98e97c)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug string/28755] overflow bug in wcsncmp_avx2 and wcsncmp_evex
  2022-01-09 10:30 [Bug string/28755] New: overflow bug in wcsncmp_avx2 and wcsncmp_evex goldstein.w.n at gmail dot com
                   ` (15 preceding siblings ...)
  2022-02-17 19:32 ` cvs-commit at gcc dot gnu.org
@ 2022-02-17 19:40 ` cvs-commit at gcc dot gnu.org
  2022-02-17 19:43 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-02-17 19:40 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28755

--- Comment #16 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The release/2.31/master branch has been updated by H.J. Lu
<hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=775c05b28c1883c5860f582cca68abf9036d9ace

commit 775c05b28c1883c5860f582cca68abf9036d9ace
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Feb 17 08:10:35 2022 -0800

    string: Add a testcase for wcsncmp with SIZE_MAX [BZ #28755]

    Verify that wcsncmp (L("abc"), L("abd"), SIZE_MAX) == 0.  The new test
    fails without

    commit ddf0992cf57a93200e0c782e2a94d0733a5a0b87
    Author: Noah Goldstein <goldstein.w.n@gmail.com>
    Date:   Sun Jan 9 16:02:21 2022 -0600

        x86: Fix __wcsncmp_avx2 in strcmp-avx2.S [BZ# 28755]

    and

    commit 7e08db3359c86c94918feb33a1182cd0ff3bb10b
    Author: Noah Goldstein <goldstein.w.n@gmail.com>
    Date:   Sun Jan 9 16:02:28 2022 -0600

        x86: Fix __wcsncmp_evex in strcmp-evex.S [BZ# 28755]

    This is for BZ #28755.

    Reviewed-by: Sunil K Pandey <skpgkp2@gmail.com>

    (cherry picked from commit aa5a720056d37cf24924c138a3dbe6dace98e97c)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug string/28755] overflow bug in wcsncmp_avx2 and wcsncmp_evex
  2022-01-09 10:30 [Bug string/28755] New: overflow bug in wcsncmp_avx2 and wcsncmp_evex goldstein.w.n at gmail dot com
                   ` (16 preceding siblings ...)
  2022-02-17 19:40 ` cvs-commit at gcc dot gnu.org
@ 2022-02-17 19:43 ` cvs-commit at gcc dot gnu.org
  2022-02-17 19:48 ` cvs-commit at gcc dot gnu.org
  2022-02-17 19:52 ` cvs-commit at gcc dot gnu.org
  19 siblings, 0 replies; 21+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-02-17 19:43 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28755

--- Comment #17 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The release/2.30/master branch has been updated by H.J. Lu
<hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=70522b1c1d1ffa5e3bd55aa3c064ea93a330bde9

commit 70522b1c1d1ffa5e3bd55aa3c064ea93a330bde9
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Feb 17 08:10:35 2022 -0800

    string: Add a testcase for wcsncmp with SIZE_MAX [BZ #28755]

    Verify that wcsncmp (L("abc"), L("abd"), SIZE_MAX) == 0.  The new test
    fails without

    commit ddf0992cf57a93200e0c782e2a94d0733a5a0b87
    Author: Noah Goldstein <goldstein.w.n@gmail.com>
    Date:   Sun Jan 9 16:02:21 2022 -0600

        x86: Fix __wcsncmp_avx2 in strcmp-avx2.S [BZ# 28755]

    and

    commit 7e08db3359c86c94918feb33a1182cd0ff3bb10b
    Author: Noah Goldstein <goldstein.w.n@gmail.com>
    Date:   Sun Jan 9 16:02:28 2022 -0600

        x86: Fix __wcsncmp_evex in strcmp-evex.S [BZ# 28755]

    This is for BZ #28755.

    Reviewed-by: Sunil K Pandey <skpgkp2@gmail.com>

    (cherry picked from commit aa5a720056d37cf24924c138a3dbe6dace98e97c)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug string/28755] overflow bug in wcsncmp_avx2 and wcsncmp_evex
  2022-01-09 10:30 [Bug string/28755] New: overflow bug in wcsncmp_avx2 and wcsncmp_evex goldstein.w.n at gmail dot com
                   ` (17 preceding siblings ...)
  2022-02-17 19:43 ` cvs-commit at gcc dot gnu.org
@ 2022-02-17 19:48 ` cvs-commit at gcc dot gnu.org
  2022-02-17 19:52 ` cvs-commit at gcc dot gnu.org
  19 siblings, 0 replies; 21+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-02-17 19:48 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28755

--- Comment #18 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The release/2.29/master branch has been updated by H.J. Lu
<hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a486152569be7ccdd748f669631285e1a16f2e73

commit a486152569be7ccdd748f669631285e1a16f2e73
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Feb 17 08:10:35 2022 -0800

    string: Add a testcase for wcsncmp with SIZE_MAX [BZ #28755]

    Verify that wcsncmp (L("abc"), L("abd"), SIZE_MAX) == 0.  The new test
    fails without

    commit ddf0992cf57a93200e0c782e2a94d0733a5a0b87
    Author: Noah Goldstein <goldstein.w.n@gmail.com>
    Date:   Sun Jan 9 16:02:21 2022 -0600

        x86: Fix __wcsncmp_avx2 in strcmp-avx2.S [BZ# 28755]

    and

    commit 7e08db3359c86c94918feb33a1182cd0ff3bb10b
    Author: Noah Goldstein <goldstein.w.n@gmail.com>
    Date:   Sun Jan 9 16:02:28 2022 -0600

        x86: Fix __wcsncmp_evex in strcmp-evex.S [BZ# 28755]

    This is for BZ #28755.

    Reviewed-by: Sunil K Pandey <skpgkp2@gmail.com>

    (cherry picked from commit aa5a720056d37cf24924c138a3dbe6dace98e97c)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug string/28755] overflow bug in wcsncmp_avx2 and wcsncmp_evex
  2022-01-09 10:30 [Bug string/28755] New: overflow bug in wcsncmp_avx2 and wcsncmp_evex goldstein.w.n at gmail dot com
                   ` (18 preceding siblings ...)
  2022-02-17 19:48 ` cvs-commit at gcc dot gnu.org
@ 2022-02-17 19:52 ` cvs-commit at gcc dot gnu.org
  19 siblings, 0 replies; 21+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-02-17 19:52 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28755

--- Comment #19 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The release/2.28/master branch has been updated by H.J. Lu
<hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9e050d1370587e808bc7bc3d151c5beb417120cb

commit 9e050d1370587e808bc7bc3d151c5beb417120cb
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Feb 17 08:10:35 2022 -0800

    string: Add a testcase for wcsncmp with SIZE_MAX [BZ #28755]

    Verify that wcsncmp (L("abc"), L("abd"), SIZE_MAX) == 0.  The new test
    fails without

    commit ddf0992cf57a93200e0c782e2a94d0733a5a0b87
    Author: Noah Goldstein <goldstein.w.n@gmail.com>
    Date:   Sun Jan 9 16:02:21 2022 -0600

        x86: Fix __wcsncmp_avx2 in strcmp-avx2.S [BZ# 28755]

    and

    commit 7e08db3359c86c94918feb33a1182cd0ff3bb10b
    Author: Noah Goldstein <goldstein.w.n@gmail.com>
    Date:   Sun Jan 9 16:02:28 2022 -0600

        x86: Fix __wcsncmp_evex in strcmp-evex.S [BZ# 28755]

    This is for BZ #28755.

    Reviewed-by: Sunil K Pandey <skpgkp2@gmail.com>

    (cherry picked from commit aa5a720056d37cf24924c138a3dbe6dace98e97c)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2022-02-17 19:52 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-09 10:30 [Bug string/28755] New: overflow bug in wcsncmp_avx2 and wcsncmp_evex goldstein.w.n at gmail dot com
2022-01-09 14:07 ` [Bug string/28755] " hjl.tools at gmail dot com
2022-01-10  0:29 ` goldstein.w.n at gmail dot com
2022-01-11  3:07 ` goldstein.w.n at gmail dot com
2022-01-27  4:24 ` cvs-commit at gcc dot gnu.org
2022-01-27  4:58 ` cvs-commit at gcc dot gnu.org
2022-01-27 13:14 ` cvs-commit at gcc dot gnu.org
2022-01-27 13:29 ` cvs-commit at gcc dot gnu.org
2022-01-27 13:33 ` cvs-commit at gcc dot gnu.org
2022-01-27 15:28 ` cvs-commit at gcc dot gnu.org
2022-01-27 16:12 ` cvs-commit at gcc dot gnu.org
2022-01-27 16:14 ` hjl.tools at gmail dot com
2022-02-17 19:04 ` cvs-commit at gcc dot gnu.org
2022-02-17 19:14 ` cvs-commit at gcc dot gnu.org
2022-02-17 19:22 ` cvs-commit at gcc dot gnu.org
2022-02-17 19:27 ` cvs-commit at gcc dot gnu.org
2022-02-17 19:32 ` cvs-commit at gcc dot gnu.org
2022-02-17 19:40 ` cvs-commit at gcc dot gnu.org
2022-02-17 19:43 ` cvs-commit at gcc dot gnu.org
2022-02-17 19:48 ` cvs-commit at gcc dot gnu.org
2022-02-17 19:52 ` cvs-commit at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).