<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO --- - Buffer Overflow in xf86-video-intel"
href="https://bugs.freedesktop.org/show_bug.cgi?id=80157#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO --- - Buffer Overflow in xf86-video-intel"
href="https://bugs.freedesktop.org/show_bug.cgi?id=80157">bug 80157</a>
from <span class="vcard"><a class="email" href="mailto:typingtothemaxbuyer@gmail.com" title="typingtothemaxbuyer@gmail.com">typingtothemaxbuyer@gmail.com</a>
</span></b>
<pre>I haven't been able to reproduce the buffer overflow, but I did see the
following in the logs (compiled without valgrind or debug from git commit
83c0f03):
X: sna_dri2.c:2142: chain_flip: Assertion `chain == dri2_chain(chain->draw)'
failed.
I'm getting the following build error when recompiling from head (83c0f03) with
full debug and valgrind.
In file included from sna.h:111:0,
from sna_display.c:43:
sna_display.c: In function 'sna_mode_redisplay':
sna_display.c:6334:10: error: 'crtc_offset' undeclared (first use in this
function)
crtc_offset, crtc->offset));
^
fb/fb.h:43:21: note: in definition of macro 'DBG'
#define DBG(x) LogF x
^
sna_display.c:6334:10: note: each undeclared identifier is reported only once
for each function it appears in
crtc_offset, crtc->offset));
^
fb/fb.h:43:21: note: in definition of macro 'DBG'
#define DBG(x) LogF x
^
Makefile:635: recipe for target 'sna_display.lo' failed
make[4]: *** [sna_display.lo] Error 1
make[4]: Leaving directory
'/home/jack/code/pkgbuilds/xf86-video-intel-git/src/xf86-video-intel-git/src/sna'
Makefile:654: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
'/home/jack/code/pkgbuilds/xf86-video-intel-git/src/xf86-video-intel-git/src/sna'
Makefile:602: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
'/home/jack/code/pkgbuilds/xf86-video-intel-git/src/xf86-video-intel-git/src'
Makefile:472: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
'/home/jack/code/pkgbuilds/xf86-video-intel-git/src/xf86-video-intel-git'
Makefile:403: recipe for target 'all' failed
make: *** [all] Error 2
I'm using arch linux with the following compiler/linker flags:
CPPFLAGS="-D_FORTIFY_SOURCE=2"
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
--param=ssp-buffer-size=4"
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
--param=ssp-buffer-size=4"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
DEBUG_CFLAGS="-g -fvar-tracking-assignments"
DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
Thanks</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>