hinted handoff: Possible dereferencing a null pointer #21699
Labels
area/hinted handoff
Issues related to Hinted Handoff
backport/6.1
should be backported to 6.1
backport/6.2
should be backported to 6.2
bug
Milestone
In this piece of code:
scylladb/db/hints/manager.cc
Lines 468 to 508 in cb6c552
we don't check whether
app_state
is not a null pointer before dereferencing it. It should not be a null pointer in normal circumstances, but as #21666 showed, it sometimes can. We should follow the good programming practices and fix it.The text was updated successfully, but these errors were encountered: