[PATCH] D148958: Size and element numbers are often swapped when calling calloc

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 21 14:24:55 PDT 2023


MaskRay requested changes to this revision.
MaskRay added a comment.
This revision now requires changes to proceed.

This is an unnecessary change. In musl, there are at least 2 places where the parameters could be swapped, but I not unsure this warrants a commit.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148958



More information about the cfe-commits mailing list