Fix NULL dereference
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | Check type is not NULL before accesslibdm/ | +6 | 1 reply | |
| 2/5 | Ensure seg is nonnulllib/ | +5 | 1 reply | |
| 3/5 | Ensure first is not NULL before dereferencelib/ | +5 | 1 reply | |
| 4/5 | Fix theoretical usage of NULL pointer dereferencelibdm/ | +6 | 2 replies | |
| 4/5 | Fix theoretical usage of NULL pointer dereference | +0 | 0 replies | |
| 5/5 | Check for NULL pointertools/ | +4 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] Fix NULL dereference
Updated patchset for NULL pointer dereferences issues reported by clang.
Unlike the first version - this time less aggresive solution is used. INTERNAL_ERRORs are reported in these moments (if they would ever happen), and the execution path aborts when such conditions are met. Previous version was rather ignoring these paths and could lead to unwanted execution of other code parts.
Zdenek Kabelac (5):
Check type is not NULL before access Ensure seg is nonnull
Ensure first is not NULL before dereference Fix theoretical usage of NULL pointer dereference Check for NULL pointer
lib/activate/dev_manager.c | 5 +++++ lib/format1/format1.c | 5 +++++ libdm/libdm-report.c | 6 ++++++ libdm/regex/ttree.c | 6 ++++++ tools/reporter.c | 4 ++++ 5 files changed, 26 insertions(+), 0 deletions(-)
Signature · 1 line
1.7.3.2