Skip to content

Commit

Permalink
Coccinelle: Use new comment format to explain kfree.cocci
Browse files Browse the repository at this point in the history
Use new comment format to separate proposed commit message
and information about generated false positives

Signed-off-by: Nicolas Palix <npalix.work@gmail.com>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Michal Marek <mmarek@suse.cz>
  • Loading branch information
Nicolas Palix authored and Michal Marek committed Oct 13, 2010
1 parent 3c90841 commit e90f659
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scripts/coccinelle/free/kfree.cocci
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/// Find a use after free. Values of variables may imply that some
/// execution paths are not possible, resulting in false positives.
/// Another source of false positives are macros such as
/// SCTP_DBG_OBJCNT_DEC that do not actually evaluate their argument
/// Find a use after free.
//# Values of variables may imply that some
//# execution paths are not possible, resulting in false positives.
//# Another source of false positives are macros such as
//# SCTP_DBG_OBJCNT_DEC that do not actually evaluate their argument
///
// Confidence: Moderate
// Copyright: (C) 2010 Nicolas Palix, DIKU. GPLv2.
Expand Down

0 comments on commit e90f659

Please sign in to comment.