commit | 089da572b956ef0f8f5b8d5917358e07892a77c2 | [log] [tgz] |
---|---|---|
author | Markus Armbruster <armbru@redhat.com> | Wed Jan 16 14:50:28 2013 +0100 |
committer | Blue Swirl <blauwirbel@gmail.com> | Sat Jan 19 10:22:44 2013 +0000 |
tree | 3bcc9c8123e3e21e6645eaa63e97914447e9e25c | |
parent | b3dd15529de22cd4bcedb6344105e87878d971b6 [diff] |
fw_cfg: Use void *, size_t instead of uint8_t *, uint32_t for blobs Many callers pass size_t, which gets silently truncated to uint32_t. Harmless, because all practical sizes are well below 4GiB. Clean it up anyway. Size overflow now fails assertions. Bonus: saves a whole bunch of silly casts. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>