[PATCH] D139449: [ObjYAML] Pass 10 instead of 16 for strncmp

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 6 11:56:49 PST 2022


MaskRay added a comment.

Thanks for noticing this issue. A better fix is to use `strcmp` since the trailing bytes should be zeroes.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139449/new/

https://reviews.llvm.org/D139449



More information about the llvm-commits mailing list