mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
zero initialize hex buffers; close 768
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user