diff options
author | Markus Armbruster <armbru@redhat.com> | 2013-01-16 14:50:28 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2013-01-19 10:22:44 +0000 |
commit | 089da572b956ef0f8f5b8d5917358e07892a77c2 (patch) | |
tree | 3bcc9c8123e3e21e6645eaa63e97914447e9e25c /vl.c | |
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>
Diffstat (limited to 'vl.c')
0 files changed, 0 insertions, 0 deletions