[Bug 49279] Possible array out of bounds in mci.c

WineHQ Bugzilla wine-bugs at winehq.org
Mon Jun 29 08:25:37 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=49279

Sagawa <sagawa.aki+winebugs at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sagawa.aki+winebugs at gmail.c
                   |                            |om

--- Comment #1 from Sagawa <sagawa.aki+winebugs at gmail.com> ---
>From my point of view, 'uTbl >= MAX_MCICMDTABLE' is redundant.

The function's uTbl argument originated from MCI_DumpCommandTable()'s argument.
MCI_DumpCommandTable() is called inside a for loop and its argument range is
[0..MAX_MCICMDTABLE). Thus, it never exceeds MAX_MCICMDTABLE.

-- 
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.



More information about the wine-bugs mailing list