new
HiI'm new to this but know that MS Flight Simulator would one need little tweak to run flight school etc. (already worked once)So I've downloaded git and would be thankful for hints on how to proceed and find those bugs in FS9. I also would prefer using Eclipse/Linux, but anyway thanks for help.Many thanksMichael
Re: [PATCH 7/7] configure: disable fortify the right way
Marcus Meissner mar...@jet.franken.de writes: Hi, $EXTRACFLAGS is used before $CFLAGS, so the previous try would not work. Also just -U the define. Won't this break if the default is set through a header? Do all distros do this only through CFLAGS? -- Alexandre Julliard julli...@winehq.org
Re: [PATCH 7/7] configure: disable fortify the right way
On Sat, Oct 23, 2010 at 11:39:45AM +0200, Alexandre Julliard wrote: Marcus Meissner mar...@jet.franken.de writes: Hi, $EXTRACFLAGS is used before $CFLAGS, so the previous try would not work. Also just -U the define. Won't this break if the default is set through a header? Do all distros do this only through CFLAGS? Hmm. openSUSE/SUSE sets it via RPM_OPT_FLAGS - CFLAGS. Unsure about Redhat. Ciao, Marcus
Re: [PATCH 7/7] configure: disable fortify the right way
On 10/23/10 3:39 AM, Alexandre Julliard wrote: Marcus Meissner mar...@jet.franken.de writes: Hi, $EXTRACFLAGS is used before $CFLAGS, so the previous try would not work. Also just -U the define. Won't this break if the default is set through a header? Do all distros do this only through CFLAGS? Nope. Mac OS sets it in _types.h: #ifndef _FORTIFY_SOURCE # if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) ((__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__-0) 1050) #define _FORTIFY_SOURCE 0 # else #define _FORTIFY_SOURCE 2 /* on by default */ # endif #endif Chip
Re: [PATCH 7/7] configure: disable fortify the right way
On Sat, Oct 23, 2010 at 09:08:06AM -0600, Charles Davis wrote: On 10/23/10 3:39 AM, Alexandre Julliard wrote: Marcus Meissner mar...@jet.franken.de writes: Hi, $EXTRACFLAGS is used before $CFLAGS, so the previous try would not work. Also just -U the define. Won't this break if the default is set through a header? Do all distros do this only through CFLAGS? Nope. Mac OS sets it in _types.h: #ifndef _FORTIFY_SOURCE # if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) ((__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__-0) 1050) #define _FORTIFY_SOURCE 0 # else #define _FORTIFY_SOURCE 2 /* on by default */ # endif #endif Then I would suggest adding to CFLAGS: -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 Otherwise for CFLAGS=... ./configure you get redefinition warnings for every file. Ciao, Marcus
Re: new
2010/10/23 Michael Sgier scrat_is_h...@yahoo.com Hi I'm new to this but know that MS Flight Simulator would one need little tweak to run flight school etc. (already worked once) So I've downloaded git and would be thankful for hints on how to proceed and find those bugs in FS9. I also would prefer using Eclipse/Linux, but anyway thanks for help. Many thanks Michael hi michael! if it has already worked before you need to do some regression testing to see when the new error was introduced. http://wiki.winehq.org/RegressionTesting http://wiki.winehq.org/RegressionTestingas far as using eclipse or whatever that's your choice. use what you feel confortable with to compile and test code. have fun :)
disabling FORTIFY_SOURCE
Hi, It seems to me that disabling FORTIFY_SOURCE is a mistake. It offers a great many protections, and virtually every distribution has very intentionally turned on this compiler flag by default. Given Wine's size[1], I would argue the benefits[2] outweigh the hassle of rearranging the structures and accessors to not trick the compiler into allocating memory beyond the end of the structure for incoming strings. It has found, at least in other projects, a lot of potential problems, and better yet, has repeatedly turned exploitable vulnerabilities into simple denial of services. I realize it's a bit of a pain to work with given how you're building some of the structures, but I'd like to ask that it not be globally disabled. Thanks, -Kees [1] $ find . -type f -name '*.[ch]' | xargs wc -l | grep total 2678911 total [2] Some details at https://wiki.ubuntu.com/CompilerFlags#-D_FORTIFY_SOURCE=2 but at least the following... Compile time: - static buffer length checks - missed return values - open() checks for missing mode when used with O_CREAT Run time: - dynamic buffer length checks - dynamic format string safety check - dynamic format position safety checks Functions with buffer length (or other) checks: asprintf confstr dprintf fgets fgetws fprintf fread fwprintf getcwd getdomainname getgroups gethostname getlogin_r gets getwd longjmp mbsnrtowcs mbsrtowcs mbstowcs memcpy memmove mempcpy memset pread64 pread printf ptsname_r read readlinkat readlink realpath recv recvfrom snprintf sprintf stpcpy stpncpy strcat strcpy strncat strncpy swprintf syslog ttyname_r vasprintf vdprintf vfprintf vfwprintf vprintf vsnprintf vsprintf vswprintf vsyslog vwprintf wcpcpy wcpncpy wcrtomb wcscat wcscpy wcsncat wcsncpy wcsnrtombs wcsrtombs wcstombs wctomb wmemcpy wmemmove wmempcpy wmemset wprintf -- Kees Cook Ubuntu Security Team
re: disabling FORTIFY_SOURCE
Hi Kees, sure, supporting Fortify in Wine would be great, but it's not clear how long it will take to fix Wine so it works with Fortify. Which would you prefer: 1) have Wine broken for an unknown and possibly long time or 2) have Wine working, but without Fortify, until the bugs are fixed ?
America's Army 3 (AA3Game.exe) Crashes with Steam Client and Wine 1.3.2
Dear All, Please refer to attached screenshot of America's Army 3 Program Error. [1] http://imgur.com/3Mky4.png [2] http://i55.tinypic.com/dxz6nq.png [3] http://img218.imageshack.us/img218/4595/aa3steamclientwine132.png [4] http://img2.uploadhouse.com/fileuploads/6751/67514722a40f9a6544b45081e58dd051255e1e3.png Please assist in troubleshooting the problem. I have set the Default Settings in Application Settings in winecfg to Windows 7. Thank you very much for your kind assistance. -- Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming) 张恩鸣 Dip(Mechatronics) BEng(Hons)(Mechanical Engineering) Singapore Identity Card No.: S78*6*2*H Location: Bedok Reservoir Road, Singapore ZIP: 470103 Mobile Phone (Starhub Pre-paid): +65-8369-2618 Windows Live Messenger: teoenming-at-hotmail.com My Youtube videos: http://www.youtube.com/user/enmingteo Alma Maters: [1] Singapore Polytechnic (Graduated 1998) [2] National University of Singapore (Graduated 2006) My Open Letter (Plea for Medical Help/Assistance) to World Leaders (Updated 28 August 2010):- http://lists.mcs.anl.gov/pipermail/mpich-discuss/2010-August/007811.html http://mythtv.org/pipermail/mythtv-users/2010-August/295952.html http://archives.gentoo.org/gentoo-user/msg_f6a341d9623fda17880159b137c07335.xml Photo of Singapore Citizen Mr. Teo En Ming (Zhang Enming) 张恩鸣 #1: http://i54.tinypic.com/2415z7t.jpg Photo of Singapore Citizen Mr. Teo En Ming (Zhang Enming) 张恩鸣 #2: http://img842.imageshack.us/img842/7534/enmingteodscf2511.jpg
Alien Swarm Does Not Launch (Steam Client and Wine 1.3.2)
Dear All, When I try to click the Play button for Alien Swarm in the Steam client, the game does not launch at all. Do you know what happens? Please assist in troubleshooting the problem. Thank you very much for your kind assistance. -- Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming) 张恩鸣 Dip(Mechatronics) BEng(Hons)(Mechanical Engineering) Singapore Identity Card No.: S78*6*2*H Location: Bedok Reservoir Road, Singapore ZIP: 470103 Mobile Phone (Starhub Pre-paid): +65-8369-2618 Windows Live Messenger: teoenming-at-hotmail.com My Youtube videos: http://www.youtube.com/user/enmingteo Alma Maters: [1] Singapore Polytechnic (Graduated 1998) [2] National University of Singapore (Graduated 2006) My Open Letter (Plea for Medical Help/Assistance) to World Leaders (Updated 28 August 2010):- http://lists.mcs.anl.gov/pipermail/mpich-discuss/2010-August/007811.html http://mythtv.org/pipermail/mythtv-users/2010-August/295952.html http://archives.gentoo.org/gentoo-user/msg_f6a341d9623fda17880159b137c07335.xml Photo of Singapore Citizen Mr. Teo En Ming (Zhang Enming) 张恩鸣 #1: http://i54.tinypic.com/2415z7t.jpg Photo of Singapore Citizen Mr. Teo En Ming (Zhang Enming) 张恩鸣 #2: http://img842.imageshack.us/img842/7534/enmingteodscf2511.jpg
Between IGF Demo is Unresponsive (Steam Client and Wine 1.3.2)
Dear All, When I click on the Play button for Between IGF Demo in Steam client, a window pops up and hangs there. Nothing is displayed in the popped up window. It just hangs there. Anybody know what happens? Please refer to screenshot. [1] http://imgur.com/3Mky4.png [2] http://i55.tinypic.com/dxz6nq.png [3] http://img218.imageshack.us/img218/4595/aa3steamclientwine132.png [4] http://img2.uploadhouse.com/fileuploads/6751/67514722a40f9a6544b45081e58dd051255e1e3.png Please assist in troubleshooting the problem. Thank you very much for your kind assistance. -- Yours sincerely, Singapore Citizen Mr. Teo En Ming (Zhang Enming) 张恩鸣 Dip(Mechatronics) BEng(Hons)(Mechanical Engineering) Singapore Identity Card No.: S78*6*2*H Location: Bedok Reservoir Road, Singapore ZIP: 470103 Mobile Phone (Starhub Pre-paid): +65-8369-2618 Windows Live Messenger: teoenming-at-hotmail.com My Youtube videos: http://www.youtube.com/user/enmingteo Alma Maters: [1] Singapore Polytechnic (Graduated 1998) [2] National University of Singapore (Graduated 2006) My Open Letter (Plea for Medical Help/Assistance) to World Leaders (Updated 28 August 2010):- http://lists.mcs.anl.gov/pipermail/mpich-discuss/2010-August/007811.html http://mythtv.org/pipermail/mythtv-users/2010-August/295952.html http://archives.gentoo.org/gentoo-user/msg_f6a341d9623fda17880159b137c07335.xml Photo of Singapore Citizen Mr. Teo En Ming (Zhang Enming) 张恩鸣 #1: http://i54.tinypic.com/2415z7t.jpg Photo of Singapore Citizen Mr. Teo En Ming (Zhang Enming) 张恩鸣 #2: http://img842.imageshack.us/img842/7534/enmingteodscf2511.jpg