]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/util.c
further MFU info updates (mainly icemans)
[proxmark3-svn] / client / util.c
index 5bb98fd77d40fa6cd73af5e4676b76209591f1b7..5482342267adb5dd2f025c37b7c1ec2430aacfee 100644 (file)
@@ -112,6 +112,7 @@ char * sprint_hex(const uint8_t * data, const size_t len) {
        
        int maxLen = ( len > 1024/3) ? 1024/3 : len;
        static char buf[1024];
+       memset(buf, 0x00, 1024);
        char * tmp = buf;
        size_t i;
 
@@ -125,6 +126,7 @@ char *sprint_bin_break(const uint8_t *data, const size_t len, const uint8_t brea
        
        int maxLen = ( len > 1024) ? 1024 : len;
        static char buf[1024];
+       memset(buf, 0x00, 1024);
        char *tmp = buf;
 
        for (size_t i=0; i < maxLen; ++i){
Impressum, Datenschutz