[all-commits] [llvm/llvm-project] e5ce95: [dfsan] Fix a bug in strcasecmp() and strncasecmp(...

sqkerner via All-commits all-commits at lists.llvm.org
Mon Apr 20 17:14:06 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e5ce95c660aeb9ef12c36917e5583c5c8d4b0d08
      https://github.com/llvm/llvm-project/commit/e5ce95c660aeb9ef12c36917e5583c5c8d4b0d08
  Author: Sam Kerner <skerner at chromium.org>
  Date:   2020-04-20 (Mon, 20 Apr 2020)

  Changed paths:
    M compiler-rt/lib/dfsan/dfsan_custom.cpp
    M compiler-rt/test/dfsan/custom.cpp

  Log Message:
  -----------
  [dfsan] Fix a bug in strcasecmp() and strncasecmp(): Compare the lowercase versions of the characters when choosing a return value.

Summary:
Resolves this bug:

  https://bugs.llvm.org/show_bug.cgi?id=38369

Reviewers: morehouse, pcc

Reviewed By: morehouse

Subscribers: #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D78490




More information about the All-commits mailing list