[libc-commits] [PATCH] D140178: [libc] add fuzz target for strtointeger functions

Tue Ly via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Dec 20 10:36:30 PST 2022


lntue added inline comments.


================
Comment at: libc/fuzzing/stdlib/strtointeger_differential_fuzz.cpp:50
+  // likely to actually be a value with some sort of conversion.
+  uint8_t *cleaner = new uint8_t[size + 1];
+  if (!container || !cleaner)
----------------
It looks like `cleaner` is not used anymore and not get deleted afterward?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140178



More information about the libc-commits mailing list