Skip to content
Snippets Groups Projects
Commit cc90f6be authored by Alan Coopersmith's avatar Alan Coopersmith
Browse files

integer overflows in XpGetPrinterList() [CVE-2013-2062 2/3]


listCount is a CARD32 that needs to be bounds checked before it is
multiplied by the size of the structs to allocate, and the string
lengths are CARD32s and need to be bounds checked before adding one
to them to come up with the total size to allocate, to avoid integer
overflow leading to underallocation and writing data from the network
past the end of the allocated buffer.

Signed-off-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
parent babb1fc8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment