diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-06 19:57:13 +0400 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-06 19:57:13 +0400 |
commit | 51711be6251be4ae5e53f9369ae04598b06df0e7 (patch) | |
tree | b7df042f992304d1582366210fade3754018ef69 /blobmsg.c | |
parent | 7c80b7c5147ac55455464224bd0a3f6aac0b51d0 (diff) |
fix more instances of uninitialized padding bytes
Diffstat (limited to 'blobmsg.c')
-rw-r--r-- | blobmsg.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -188,6 +188,8 @@ blobmsg_add_string_buffer(struct blob_buf *buf) attrlen = blob_raw_len(attr) + len; blob_set_raw_len(attr, attrlen); + blob_fill_pad(attr); + blob_set_raw_len(buf->head, blob_raw_len(buf->head) + blob_pad_len(attr)); } |