https://bugs.winehq.org/show_bug.cgi?id=37132
Bug ID: 37132
Summary: Clang Static Analyzer: Uninitialized array item
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
Clang Static Analyzer identifies Uninitialized array item
File: dlls/avifil32/api.c
Location: line 1753, column 10
Description: Assigned value is garbage or undefined
#define MAX_AVISTREAMS 8
...
HRESULT WINAPI AVISaveVW(....int nStreams ....)
{
...
//Declaring 8-item array, [0..7]
PAVISTREAM pInStreams[MAX_AVISTREAMS];
...
if (nStreams >= MAX_AVISTREAMS) {
WARN(...);
return AVIERR_INTERNAL;
}
...
//Initializing first 7 items, [0..6].
for (curStream = 0; curStream < nStreams; curStream++) {
pInStreams[curStream] = NULL;
pOutStreams[curStream] = NULL;
}
...
for (curStream = 0; curStream < nStreams; curStream++) {
...
if (curStream + 1 >= nStreams) {
/* move the others one up */
PAVISTREAM *ppas = &pInStreams[curStream];
int n = nStreams - (curStream + 1);
do {
*ppas = pInStreams[curStream + 1];
//Clang: Assigned value is garbage or undefined
} while (--n);
}
...
}
...
}
In this code, an array of 8 items is declared. The code will continue executing
as long as the nStreams variable is less than 8, i.e. 7 at most. All the loops
in this function with the conditional statement (curStream < nStreams) fail to
iterate through the last item, both before its initialization and when using
it. The line Clang displayed the message on is just that very line where the
eighth item with the index 7 is taken, as the (curStream + 1 >= nStreams)
condition will be true at curStream==6 and nStreams==7. Addressing the
pInStreams[curStream + 1] array will give us the last, previously uninitialized
item.
--
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=34758
Bug #: 34758
Summary: Unhandled exception: divide by zero in 32-bit code
(0x7eabe0ee). under unbuntu 12.04 wine 1.6
Product: Wine
Version: unspecified
Platform: x86-64
OS/Version: other
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: Francis.Bougron(a)free.fr
Classification: Unclassified
Created attachment 46350
--> http://bugs.winehq.org/attachment.cgi?id=46350
Trace of debugger
This happens when starting "Microsoft money97 5.0.
I see bugs 33886 34451 300082.
It is probably the same thing.
--
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=37948
Bug ID: 37948
Summary: EVE Launcher crashes when importing/exporting patches
Product: Wine
Version: 1.7.33
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: alex_y_xu(a)yahoo.ca
Distribution: Gentoo
Created attachment 50555
--> https://bugs.winehq.org/attachment.cgi?id=50555
Wine backtrace
Steps to reproduce:
Step 1: wine eve.exe
Step 2: Press gear icon, go to Patches.
Step 3: Press Import or Export.
Expected results:
Dialog opens.
Actual results:
Launcher crashes.
The bug can be reproduced after installing EVE without a subscription
(http://www.eveonline.com/), but it is quite a large download (~5 GB).
--
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=18562
Summary: foxtrader crash with page fault (regression)
Product: Wine
Version: 1.1.21
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: xrfang(a)gmail.com
Created an attachment (id=21225)
--> (http://bugs.winehq.org/attachment.cgi?id=21225)
log messages
FoxTrader (http://wizard.stock.hexun.com/webtornado/download/SetupGold.exe)
crashes with page fault, please see log.
Note
1. This is a regression
2. The program is Chinese, and it needs MFC42.DLL.
--
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=37780
Bug ID: 37780
Summary: After running a bash script from cmd, no prompt is
printed
Product: Wine
Version: unspecified
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: cmd
Assignee: wine-bugs(a)winehq.org
Reporter: gm89(a)hotmail.it
Distribution: ---
If I run a bash script from wine's cmd, after execution the prompt is not
printed.
I believe this is the cause of an hang in my use case, I'm trying to interface
a windows program with my android phone by making it use the native adb binary;
the trick I used was to replace the provided "adb.exe" with a similarly named
bash script with this content:
#!/bin/bash
/usr/bin/adb $*
If I manually call adb.exe from cmd, the output of commands is correct but no
prompt is printed afterwards.
Tested with wine 1.7.33 under ubuntu 14.04.
--
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=38909
Bug ID: 38909
Summary: Notepad corrupts files saved as utf-8 without a byte
order mark (BOM)
Product: Wine
Version: 1.1.19
Hardware: x86
OS: Linux
Status: NEW
Keywords: download, source
Severity: minor
Priority: P2
Component: programs
Assignee: wine-bugs(a)winehq.org
Reporter: austinenglish(a)gmail.com
Distribution: ---
Created attachment 51843
--> https://bugs.winehq.org/attachment.cgi?id=51843
screenshot
See attached screenshot and test files (from bug 18191).
--
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=22080
Summary: Wine removes custom drive mappings
Product: Wine
Version: 1.1.40
Platform: x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: sub.mesa(a)gmail.com
Wine appears to be forgetting or removing my drive mappings. I have an NFS
filesystem mouned on /nfs, i am the owner of that directory with appropriate
write permissions. I do something like this:
# create new wine directory
mkdir /nfs/winetest
# populate wine directory
WINEPREFIX=/nfs/winetest/ winecfg
# Now i go to Drives tab, make a new D-drive, set it to /nfs, then click Apply
# close winecfg
# when i launch winecfg again, the /nfs D-drive is still there
# so far so good
# now launch some random application on the NFS-mount
cd /nfs/
WINEPREFIX=/nfs/winetest/ wine "D:\\prip\\setup.exe"
# result: wine: module not found; application does not start properly
# now check winecfg again:
WINEPREFIX=/nfs/winetest/ winecfg
# now our D-drive mapping isn't set to anything; its empty.
So it appears wine removes my custom drive mappings whenever an application is
launched or tries to access its DLLs located there. If i did something wrong,
i'm not aware of it. Wine should just accept the D-drive and launch the
application, not removing my drive mapping.
I also tested without using NFS; on my home directory.
mkdir ~/winetest
mkdir ~/driveD
WINEPREFIX=/home/<user>/winetest winecfg
# set drive D to map to /home/<user>/driveD/ type Local Disk
# click apply & close winecfg
cp -p ~/nfs/prip/setup.exe ~/driveD/
WINEPREFIX=/home/<user>/winetest/ wine "D:\\setup.exe"
# result: fails again, drive D gone.
I'm using Ubuntu 9.10 64-bit, wine 1.1.40 per winehq.org PPA; no modifications.
The latest .41 versions is not in your PPA yet, so i can't test. Can anyone
confirm this bug?
--
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=18234
Summary: Approach: Maximizing internalal minimized icon give
"About Wine"
Product: Wine
Version: 1.1.20
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: ToddAndMargo(a)verizon.net
Created an attachment (id=20742)
--> (http://bugs.winehq.org/attachment.cgi?id=20742)
About wine instead of a maximized window
Hi All,
In Lotus Approach, if you use the internal windows control (the low set of
caption buttons) to minimize a single database, it will appear as an icon in
the lower right of Approach's window. If you double click on the icon to
maximize the window again, you get "About Wine 1.1.20" (and no maximized
window)
Many thanks,
-T
--
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=18233
Summary: Approach underscore bar inactive with multiple database
open
Product: Wine
Version: 1.1.20
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: ToddAndMargo(a)verizon.net
Hi All,
In Lotus Approach, when you have two or more databases open and have them
windowed (Windows --> cascaded, right-left, top-bottom) the underscore button
in the window's internal caption buttons, although showing (not grayed out),
does not work.
Many thanks,
-T
--
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.