Click or drag to resize
MimeKit

ParserOptionsMaxAddressGroupDepth Property

Gets or sets the maximum address group depth the parser should accept.

Namespace:  MimeKit
Assembly:  MimeKit (in MimeKit.dll) Version: 3.0.0
Syntax
C#
public int MaxAddressGroupDepth { get; set; }

Property Value

Type: Int32
The maximum address group depth.
Remarks

This option exists in order to define the maximum recursive depth of an rfc822 group address that the parser should accept before bailing out with the assumption that the address is maliciously formed. If the value is set too large, then it is possible that a maliciously formed set of recursive group addresses could cause a stack overflow.

See Also