Skip to content
Commit b45fd893 authored by Daniel Gustafsson's avatar Daniel Gustafsson
Browse files

cookie: Guard against possible NULL ptr deref



In case the name pointer isn't set (due to memory pressure most likely)
we need to skip the prefix matching and reject with a badcookie to avoid
a possible NULL pointer dereference.

Closes #3820 #3821
Reported-by: Jonathan Moerman
Reviewed-by: default avatarDaniel Stenberg <daniel@haxx.se>
parent b898b4c0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment