Commit 8a56be6
extmod/moductypes: Be more defensive with uctypes_struct_agg_size args.
Eliminates read-beyond-end when calling `uctypes_struct_agg_size()` on the
length 1 tuple (uctypes.ARRAY ,).
Signed-off-by: Duncan Lowther <Duncan.Lowther@glasgow.ac.uk>1 parent 1f601e8 commit 8a56be6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| |||
0 commit comments