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: kreme...@apple.com
          Reporter: xiangzha...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to