Am 30.07.2018 um 17:33 schrieb tumtum00:
Self-compiled xorg-server 1.20.0 crashes at startup, buffer overflow
Hello all,
after building xorg-server 1.20.0 without errors, the XWin binary crashes at
startup due to a buffer overflow. XWin 1.20.0 from Cygwin repos works as
expected.
Setup:
- Freshly installed Win7 x86_64 VM
- Cygwin x86_64
- Dependencies installed as described in
https://x.cygwin.com/docs/cg/prog-build-prerequisites.html, plus
xcb-composite-devel
- Applied the following patches to my Cygwin environment, otherwise the build
would fail:
https://github.com/cygwinports/cygport/commit/1072fd872757bd7aa97fa8daf95ed13f70f56291
https://github.com/cygwinports/cygport/commit/c4e0f0ec5f9a5a691fd19efe2bda3cdf278baef5
- Downloaded patched xorg-server 1.20.0-2 sources as described in
https://x.cygwin.com/docs/cg/prog-obtaining-source.html, "Obtaining via Cygwin
setup"
Build:
$ cygport --64 xorg-server.cygport prep
$ cygport --64 xorg-server.cygport compile
XWin binary
/usr/src/xorg-server-1.20.0-2.src/xorg-server-1.20.0-2.x86_64/src/xserver-cygwin-1.20.0-2/x86_64-pc-cygwin/hw/xwin/XWin
is then executed.
what about doing also "install package" and properly install the
resulting binary ?
---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple