Mercurial > dropbear
comparison dbutil.c @ 655:76e780c74a5e
- Burn buffers to 0x00 instead
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 21 Feb 2012 22:56:45 +0800 |
parents | 452bcf810e44 |
children | 16af1decaf4c |
comparison
equal
deleted
inserted
replaced
649:234cf769bcb3 | 655:76e780c74a5e |
---|---|
828 volatile char *p = data; | 828 volatile char *p = data; |
829 | 829 |
830 if (data == NULL) | 830 if (data == NULL) |
831 return; | 831 return; |
832 while (len--) { | 832 while (len--) { |
833 *p++ = 0x66; | 833 *p++ = 0x0; |
834 } | 834 } |
835 } | 835 } |
836 | 836 |
837 | 837 |
838 void setnonblocking(int fd) { | 838 void setnonblocking(int fd) { |