We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79a4dce commit dc05373Copy full SHA for dc05373
mm/kmemleak.c
@@ -1556,7 +1556,8 @@ static int dump_str_object_info(const char *str)
1556
struct kmemleak_object *object;
1557
unsigned long addr;
1558
1559
- addr= simple_strtoul(str, NULL, 0);
+ if (kstrtoul(str, 0, &addr))
1560
+ return -EINVAL;
1561
object = find_and_get_object(addr, 0);
1562
if (!object) {
1563
pr_info("Unknown object at 0x%08lx\n", addr);
0 commit comments