pycryptodome icon indicating copy to clipboard operation
pycryptodome copied to clipboard

Possible dereference of null pointer.

Open Bbulatov opened this issue 1 year ago • 1 comments

Good day! During static analysis, a possible null pointer dereference was found. Testing was carried out on Linux Debian 11. The static analyzer pointed to the file src/ec_ws.c on line 1043, because usually the result of the new_workplace() function is tested for equality to the NULL value. In theory, it can happen that in line src/ec_ws.c:76 the result of the work will be equal to NULL in the case on line 1043. Please clarify why there is no check in this case after line 1043? Are there any plans to make changes to the code?

Bbulatov avatar May 14 '24 06:05 Bbulatov

Fixed with 824c7064971153f96a6c84560377b8ad30c94bef

Legrandin avatar Jun 24 '24 22:06 Legrandin

Now in v3.21.0

Legrandin avatar Oct 02 '24 10:10 Legrandin