summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-04-13 14:43:48 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-04-26 19:32:20 -0700
commit4c4123441e40da97acd10f58911193ad3dcef5cd (patch)
treeecfe2891b005f45f65a943000d0fb7e0b4287b2d /include
parent47bb28ac0e6e49d3b6eb90c7c215f2fcf54f1a95 (diff)
avoid integer overflow in XF86VidModeGetModeLine()
rep.privsize is a CARD32 and needs to be bounds checked before multiplying by sizeof(INT32) to come up with the total size to allocate & read to avoid integer overflow, though it would not result in buffer overflow as the same calculation was used for both allocation & reading from the network. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions