Max size on ASN1_item_d2i_bio()?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'd like to use ASN1_item_d2i_bio() (or something similar) to parse an 
incoming message. However, given that types like ASN1_OCTET_STRING 
have (essentially) unbounded length, how do I prevent an attacker from 
DOS'ing via OOM?

Is there some way to set a max packet size?

Nathaniel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux