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

Alf via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 6 16:22:45 PST 2022


gAlfonso-bit added a comment.

What do you mean?

Because as it is written, strncmp will just behave like strcmp, as it will quit when it reaches the NULL terminator of __LINKEDIT at the latest, whether or not segname is terminated or not


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

https://reviews.llvm.org/D139449



More information about the llvm-commits mailing list