[llvm-bugs] [Bug 31603] New: False positive Null pointer passed as an argument to a 'nonnull' parameter
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jan 10 20:15:28 PST 2017
https://llvm.org/bugs/show_bug.cgi?id=31603
Bug ID: 31603
Summary: False positive Null pointer passed as an argument to a
'nonnull' parameter
Product: clang
Version: 3.9
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Static Analyzer
Assignee: kremenek at apple.com
Reporter: xiangzhai83 at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Hi Clang developers,
https://github.com/isoft-linux/partclone/blob/master/src/partclone.c#L506
assert(optarg != NULL);
opt->offset = (off_t)atol(optarg);
False positve ---> Null pointer passed as an argument to a 'nonnull' parameter
Regards,
Leslie Zhai
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170111/5c8c7bbe/attachment.html>
More information about the llvm-bugs
mailing list