Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jan 2016 10:34:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 206551] Heap overflow in iconv kernel module
Message-ID:  <bug-206551-8-PudB7tcGIy@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-206551-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-206551-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206551

--- Comment #3 from CTurt <ecturt@gmail.com> ---
In the disassembly of `libiconv.so`, the check is performed on an `unsigned
int` for some reason:

    unsigned int v24;
    ...
    && v24 <=3D 0x41000

I'm not sure why this is, considering the type of `ia_data` is `int`, which
should imply `signed` by default.

However, this means that it's not actually triggerable; `EINVAL` is returned
for an `ia_data` of `-1`. I've tested on FreeBSD 9.0, and 10.2

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206551-8-PudB7tcGIy>