Closed stormshield-kg closed 2 weeks ago
Thanks for reporting. It seems like we missed that sentence. I've pushed #4224 to address this. I likely will cut another patch release later this week.
Also I'm not sure if that warrants a rustsec advisory or not. On the one hand it's a potential null pointer dereference, on the other hand you shouldn't run into that by accident.
I just published diesel 2.2.4 to address this issue
Setup
Versions
Feature Flags
Problem Description
This code has UB:
Output with
cargo run
:It seems the problem is linked to the
sqlite3_prepare_v3
call (see sqlite doc):Checklist