[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] src/sort.c: assert on temp.text before calling memcpy()
From: |
Kamil Dudka |
Subject: |
Re: [PATCH] src/sort.c: assert on temp.text before calling memcpy() |
Date: |
Wed, 6 Jan 2010 14:33:15 +0100 |
User-agent: |
KMail/1.12.4 (Linux/2.6.29.5-191.fc11.x86_64; KDE/4.3.4; x86_64; ; ) |
Hey,
On Tue January 5 2010 21:01:13 Kovarththanan Rajaratnam wrote:
> clang detected the following false positive:
>
> sort.c:2292:7: warning: Null pointer passed as an argument to a 'nonnull'
> parameter memcpy (temp.text, line->text, line->length);
how can I force clang to issue the warning? Is it necessary to have a recent
version and/or use any extra options?
Thanks in advance for your answer!
Kamil