I've just read some note written by Krzysztof Kowalczyk on his
blog titled: "memset() considered harmful" ().
He has written that people usually swap second ant third parameter which in case of zeroing some data will do nothing.
There's also a
query which shows that at least half of calls is invalid.
I've already checked C::B and it has no such "mistakes"
But it may be a good tip to check your code
BYO