aboutsummaryrefslogtreecommitdiff
path: root/nx-libs.spec
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-12-09 09:31:00 -0800
committerUlrich Sibiller <uli42@gmx.de>2016-10-06 21:16:17 +0200
commit057cdafdc25c9c82989304ad0427c0038b40c521 (patch)
tree347ce7a52104d5a76c1e7a7ff80983c4ec0e186f /nx-libs.spec
parentda5da2091dc47b031926c791135c83468f557e9d (diff)
downloadnx-libs-057cdafdc25c9c82989304ad0427c0038b40c521.tar.gz
nx-libs-057cdafdc25c9c82989304ad0427c0038b40c521.tar.bz2
nx-libs-057cdafdc25c9c82989304ad0427c0038b40c521.zip
dix: GetHosts bounds check using wrong pointer value [CVE-2014-8092 pt. 6]
GetHosts saves the pointer to allocated memory in *data, and then wants to bounds-check writes to that region, but was mistakenly using a bare 'data' instead of '*data'. Also, data is declared as void **, so we need a cast to turn it into a byte pointer so we can actually do pointer comparisons. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> v1: Keith Packard v2: backport to nx-libs 3.6.x (Ulrich Sibiller)
Diffstat (limited to 'nx-libs.spec')
0 files changed, 0 insertions, 0 deletions