forked from osmocom/wireshark
c14d731e45
Get rid of the global content_tvb and object_identifier_id in the CMS dissector, and put them in a packet scoped proto data struct, so that when there's a non fatal exception retrieving the OID we don't use the global value from a previous packet (or worse, file), since what the content_tvb and object_identifier_id pointed to were both packet scoped that could lead to memory access violations. Clear the values of the OID and the content_tvb each time before they are retrieved, so that values from a previous PDU of CMS in the same packet aren't used either. This was not quite as bad as using a value already freed, but still bad. Fix #17800, #17809, #17835 |
||
---|---|---|
.. | ||
AttributeCertificateVersion1.asn | ||
CMSFirmwareWrapper.asn | ||
CMakeLists.txt | ||
CryptographicMessageSyntax.asn | ||
cms.cnf | ||
packet-cms-template.c | ||
packet-cms-template.h |