Project

General

Profile

Actions

Bug #1926

closed

sha_unit_new() calls unit_virtual_create() with zero (-> nullptr) unit type

Added by Marko Lindqvist about 1 month ago. Updated 17 days ago.

Status:
Closed
Priority:
Normal
Category:
client-common
Target version:
Start date:
01/31/2026
Due date:
% Done:

0%

Estimated time:

Description

sha_unit_new() calls unit_virtual_create() with 0 as unit type pointer parameter. That's not legal (unit_virtual_create() asserts against it)


Files


Related issues 1 (0 open1 closed)

Blocks Feature #1914: Nonnull parameters in unit.cClosedMarko Lindqvist01/18/2026

Actions
Actions #1

Updated by Marko Lindqvist about 1 month ago

Actions #2

Updated by Marko Lindqvist about 1 month ago

Apply also to S2_6.

Actions #3

Updated by Marko Lindqvist 17 days ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF