]> Kevux Git Server - fll/commit
Security: Invalid allocation sizes due to incorrect types.
authorKevin Day <thekevinday@gmail.com>
Fri, 3 Sep 2021 03:00:20 +0000 (22:00 -0500)
committerKevin Day <thekevinday@gmail.com>
Fri, 3 Sep 2021 03:00:20 +0000 (22:00 -0500)
commita44323af3b9d7354a645f5e628221c37afb21e3c
tree7680f74fe935e603609199c0de349789cd0f5d1a
parent61a5583f6c9b78ca99f1f520d5ccfe68c2ac3e41
Security: Invalid allocation sizes due to incorrect types.

It looks like I added the wrong types on many of these.
I passed the array type in the allocation rather than the type used within the array.

For example, "f_statuss_t" is an array of "f_status_t".
The "f_status_t" is the type within the array but I had accidentally used "f_statuss_t".

This will lead to invalid wites, and therefore, a security issue.
level_0/f_type_array/c/private-type_array.c