https://bugs.winehq.org/show_bug.cgi?id=37121
Bug ID: 37121
Summary: PVS-Studio Error: String length changing
Product: Wine
Version: 1.7.22
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: lukebenes(a)hotmail.com
PVS-Studio identifies a V692 error, An inappropriate attempt to append a null
character to a string. To determine the length of a string by 'strlen' function
correctly, a string ending with a null terminator should be used in the first
place. appdefaults.c 390
...
section[strlen(section)] = '\0'; /* remove last backslash */
...
In this code, NULL character will actually be written into NULL character and
nothing will change. For the strlen() function to work properly, the string
must be already null-terminated. The comment suggests that the programmer
probably wanted to cut off the last backslash. Then the code should look like
this:
section[strlen(section) - 1] = '\0';
details on the V692 error here: http://www.viva64.com/en/d/0328/
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=37122
Bug ID: 37122
Summary: PVS-Studio Error: One counter for two loops
Product: Wine
Version: 1.7.22
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: lukebenes(a)hotmail.com
PVS-Studio identifies a V535 Error, one counter for two loops. The variable 'i'
is being used for this loop and for the outer loop. Check lines: 980, 1003.
iphlpapi_main.c 1003
...
for (i = 0; i < num_v6addrs; i++) //<==
{
...
for (i = 0; i < 8 && !done; i++) //<==
{
...
}
...
if (i < num_v6addrs - 1)
{
prefix->Next = (IP_ADAPTER_PREFIX *)ptr;
prefix = prefix->Next;
}
}
...
This fragment is suspicious: a nested loop is organized through the i variable
which is also used in the external loop.
details on the V535 error here: http://www.viva64.com/en/d/0124/
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=35384
Bug ID: 35384
Summary: Settings window always behind full-screen window in
Tomb Raider III
Product: Wine
Version: 1.7.10
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: markk(a)clara.co.uk
Classification: Unclassified
I'm testing with Wine 1.7.10, Lubuntu 11.10 x86-64.
This bug applies to the game Tomb Raider III. I tested the "South Pacific" demo
(~13MB) which can be downloaded from
http://www.tombraiderchronicles.com/tr3/demo.html
The problem only happens when *not* using virtual desktop mode.
Download and unpack the archive, then run Setup.exe to install it.
Use winecfg to set the Windows version to Windows 98 otherwise the program will
crash. Start the demo by doing wine Tomb3.exe /setup. That opens a full-screen
black window, and the Tomb Raider II Setup window appears behind it (so it's
invisible).
Pressing Alt-Tab to switch to the game setup window, it still remains
invisible. (You can blindly press Alt-F4 to quit it at that point. So it seems
the window does have focus.)
Previously, with at least Wine 1.2-rc6 (see description for bug 23689) pressing
Alt-Tab to switch to the setup window did cause it to appear. So there looks to
have been some regression since then, though of course the 1.2-rc6 behaviour
wasn't correct either.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17895
Summary: JFlothows 2DMatrix.exe freezes
Product: Wine
Version: 1.1.18
Platform: PC
URL: http://download.jflothow.de/fvstein/2DMatrix.zip
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: normandy(a)web.de
Created an attachment (id=20202)
--> (http://bugs.winehq.org/attachment.cgi?id=20202)
Logfile using wine 1.1.18
This small app simply freezes when You click on "Transformieren". Normally,
this application should use the given Matrix (e.g.: (2/0;0/2)) and use it to
scale/rotate the image.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19663
Summary: Lotus Organizer 2 causes a page fault on load
Product: Wine
Version: 1.1.27
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: win16
Severity: normal
Priority: P3
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: kennybobs(a)o2.co.uk
Created an attachment (id=22947)
--> (http://bugs.winehq.org/attachment.cgi?id=22947)
Wine 1.1.27 console output
Lotus Organizer 2 causes a page fault on load and has to be killed.
Backtrace:
=>0 0x7b854d4a __wine_emulate_instruction+0x102(rec=0x66dd00, context=0x66da34)
[/home/test/wine-git/dlls/kernel32/instr.c:455] in kernel32 (0x0066d894)
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19657
Summary: Lotus 123R5 error dialog
Product: Wine
Version: 1.1.27
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: win16
Severity: trivial
Priority: P3
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: kennybobs(a)o2.co.uk
Created an attachment (id=22940)
--> (http://bugs.winehq.org/attachment.cgi?id=22940)
Wine 1.1.27 console output
To recreate:
1. Load Lotus 1-2-3 Release 5
2. Select "Amortize a Loan".
3. A popup error dialog opens, that doesn't say anything.
Clicking X to close the window allows you to continue. At this point, I don't
know what it might be affecting, so it's trivial.
1-2-3 R5 comes with Smartsuite 3.1.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=37390
Bug ID: 37390
Summary: Word 2007: crashes when choosing a font
Product: Wine
Version: unspecified
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: moceap(a)hotmail.com
Created attachment 49722
--> https://bugs.winehq.org/attachment.cgi?id=49722
back trace of bug
Word 2007 crashes when reach little above end of font list !!
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=23187
Summary: DeferWindowPos behaves wrong when invalid HWND
Product: Wine
Version: unspecified
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: user32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: rodrigorivascosta(a)gmail.com
Created an attachment (id=28848)
--> (http://bugs.winehq.org/attachment.cgi?id=28848)
Sample program to demonstrate the problem
The Wine behavior of the BeginDeferWindowPos/DeferWindowPos/EndDeferWindowPos
functions differ from the Windows one when some of the HWND used are invalid:
The attached program uses these functions to move several windows at once, but
one HWND is purposely hijacked to force the error. In Windows, all the windows
but the wrong one are moved. In Wine, however, only the windows "before" the
wrong one are moved.
It looks like Windows checks the HWNDs to be valid when calling DeferWindowPos
whereas Wine checks them when calling EndDeferWindowPos.
This can be checked with the output of the attached program:
Windows:
------------
BDWP 006D03E7
DWP 006D03E7
DWP 006D03E7
DWP 00000000
Error: 1400
DWP 006D03E7
DWP 006D03E7
DWP 006D03E7
EDWP 1
------------
Wine:
------------
BDWP 001B0082
DWP 001B0082
DWP 001B0082
DWP 001B0082
DWP 001B0082
DWP 001B0082
DWP 001B0082
EDWP 0
Error: 1400
------------
Note that the Windows behavior is somewhat different than the documented in
MSDN.
Regards.
--
Rodrigo.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=33423
Bug #: 33423
Summary: Cultures 3 multiplayer does not work
Product: Wine
Version: 1.5.28
Platform: x86
OS/Version: Mac OS X
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: paulthetall(a)gmail.com
Classification: Unclassified
Created attachment 44225
--> http://bugs.winehq.org/attachment.cgi?id=44225
Screenshot multiplayer error
Multiplayer does not work for Cultures 3 8th Wonder of the world. It gives an
network error: See screenshot. Debug below:
fixme:win:EnumDisplayDevicesW ((null),0,0x32f518,0x00000000), stub!
fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub
fixme:file:get_default_com_device no known default for device com9
fixme:file:get_default_com_device no known default for device com8
fixme:file:get_default_com_device no known default for device com7
fixme:file:get_default_com_device no known default for device com6
fixme:file:get_default_com_device no known default for device com5
fixme:file:get_default_com_device no known default for device com4
fixme:file:get_default_com_device no known default for device com3
fixme:file:get_default_com_device no known default for device com2
fixme:file:get_default_com_device no known default for device com1
fixme:winsock:convert_af_w2u unhandled Windows address family 6
I tried the trick by deleting the localspl.dll in the sysem32 folder, which did
not help. http://ubuntuforums.org/archive/index.php/t-845346.html
Please help :)
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.