This repository was archived by the owner on Jan 18, 2024. It is now read-only.
Commit 5c1c247
🐛 Fix copy ctor and dtor nullptr dereference
Previous changes to inplace_function to reduce memory resulted in a case
where the vtable_ptr_ could be set to nullptr and be dereferenced. This
change checks if vtable_ptr_ is a null reference.
- 🎨 update code to the latest template library standard
- ⬆️ Bump version to 2.0.11 parent cba67c5 commit 5c1c247
5 files changed
Lines changed: 18 additions & 62 deletions
File tree
- demos
- include/libhal/third_party
- test_package
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
30 | | - | |
| 29 | + | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
| 61 | + | |
| 62 | + | |
75 | 63 | | |
76 | 64 | | |
77 | 65 | | |
| |||
109 | 97 | | |
110 | 98 | | |
111 | 99 | | |
| 100 | + | |
| 101 | + | |
112 | 102 | | |
113 | 103 | | |
114 | 104 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| |||
320 | 324 | | |
321 | 325 | | |
322 | 326 | | |
323 | | - | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
324 | 330 | | |
325 | 331 | | |
326 | 332 | | |
| |||
332 | 338 | | |
333 | 339 | | |
334 | 340 | | |
335 | | - | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
336 | 344 | | |
337 | 345 | | |
338 | 346 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
| |||
This file was deleted.
0 commit comments