diff options
| author | Yukihiro Matz Matsumoto <[email protected]> | 2013-01-22 00:40:04 +0900 |
|---|---|---|
| committer | Yukihiro Matz Matsumoto <[email protected]> | 2013-01-22 00:40:04 +0900 |
| commit | 323d8501d64d5cb2fb176e240c06ebfebebf62e0 (patch) | |
| tree | 98754bd3cd4f3d4ca05f90ad9203987d52c7a31b /src | |
| parent | 84ef21a4d5616f50b1182af61996983e39a08554 (diff) | |
| download | mruby-323d8501d64d5cb2fb176e240c06ebfebebf62e0.tar.gz mruby-323d8501d64d5cb2fb176e240c06ebfebebf62e0.zip | |
zero initialize hex buffers; close 768
Diffstat (limited to 'src')
| -rw-r--r-- | src/load.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/load.c b/src/load.c index 504246799..78ece114f 100644 --- a/src/load.c +++ b/src/load.c @@ -138,7 +138,7 @@ load_rite_irep_record(mrb_state *mrb, RiteFILE* rfp, unsigned char* dst, uint32_ int i; uint32_t blocklen; uint16_t offset, pdl, snl, clen; - unsigned char hex2[2], hex4[4], hex8[8], hcrc[4]; + unsigned char hex2[2] = {0}, hex4[4] = {0}, hex8[8] = {0}, hcrc[4] = {0}; unsigned char *pStart; char *char_buf; uint16_t buf_size =0; |
