Open infn-ke opened 3 months ago
I couldn't reproduce it. Can you please change this snippet (https://godbolt.org/z/4az5z7eva ), so that it hits that warning?
@grisumbras I can see issue in a larger code base. Will try to re-create in a smaller context.
I'm using boost 1.83 and gcc13.2 and can see a gcc compiler warning about a potential null de-reference.
Is the check
elem_res.has_error()
insufficient to guarantee that no null-pointer de-reference will happen?