[master] 46901a4d3 avoid potential assertion failures in pan_addr()

Nils Goroll nils.goroll at uplex.de
Mon Oct 5 15:02:49 UTC 2020


On 05/10/2020 15:36, Dridi Boukelmoune wrote:
> This should solve the risk of crash in VTCP_name() but session
> attributes can still trigger.

yes, that existed before, and not any more.

But we'll likely have the same issue elsewhere - in general, we should not deref
any pointers from structs with mismatched magic.

I won't clean up all the places (now) because I have not seen such an issue for
ages.

Nils

-- 

** * * UPLEX - Nils Goroll Systemoptimierung

Scheffelstraße 32
22301 Hamburg

tel +49 40 28805731
mob +49 170 2723133
fax +49 40 42949753

xmpp://slink@jabber.int.uplex.de/

http://uplex.de/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-commit/attachments/20201005/850911ed/attachment.bin>


More information about the varnish-commit mailing list