diff options
author | portix <none@none> | 2012-06-03 14:32:51 +0200 |
---|---|---|
committer | portix <none@none> | 2012-06-03 14:32:51 +0200 |
commit | b868f492968ddd575174265f071393ce2a3d926a (patch) | |
tree | fac37e0ff1bcb892b477a4656ae52bceaf07357f /src | |
parent | 0986e19cc0db22c1da2d54875592e0eb442f99a9 (diff) | |
download | dwb-b868f492968ddd575174265f071393ce2a3d926a.zip |
Merging [PATCH] fix OOB memory writes (too small malloc)
Diffstat (limited to 'src')
-rw-r--r-- | src/dwb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3725,7 +3725,7 @@ dwb_init_custom_keys(gboolean reload) { continue; current_line++; - command = dwb_malloc(sizeof(command)); + command = dwb_malloc(sizeof(CustomCommand)); command->key = dwb_malloc(sizeof(Key)); *(command->key) = dwb_str_to_key(keybuf->str); |