7 ms·Why do you randomize them?by clarry 12y agoWhy do you randomize them?syncsynchalt 12y agoBecause just free()ing them means anyone calling malloc() can get your password.clarry 12y agoSo why don't you zero them?ibisum 12y agoBecause then your attacker knows that your buffer had something in it of value.