Re: bug in function MD5Final() (file "lib/md5.c")

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Karel,

On 10 Dec 2009, at 11:20, Karel Zak wrote:

> On Wed, Dec 09, 2009 at 10:08:38PM +0000, Jochen Voss wrote:
>> while experimenting with coccinelle, I accidentially found what I
> 
> Good work, thanks! Can you share your spatches? For example memset()
> bugs are pretty common. It'd be nice to have somewhere on internet
> a collection of spatches for generic bugs.

It was my first ever experiment with spatches, so there is only one:

@@
type T;
T *x;
expression E;
@@

memset(x, E, sizeof(
+ *
 x))

This was taken from a post by Julia Lawall to the linux-kernel mailing list.

> I have applied the patch below.

Excellent!

All the best,
Jochen
--
http://seehuhn.de/




--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux