[Bug 44305] New: GetSystemFirmwareTable() API returns empty SMBIOS records on Ubuntu 16.04 x86_64
https://bugs.winehq.org/show_bug.cgi?id=44305 Bug ID: 44305 Summary: GetSystemFirmwareTable() API returns empty SMBIOS records on Ubuntu 16.04 x86_64 Product: Wine Version: 2.0.4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs(a)winehq.org Reporter: gaurav.pruthi88(a)gmail.com Distribution: --- We are using GetSystemFirmwareTable() API to retrieve SMBIOS data. After invocation, function returns empty SMBIOSTableData[], a member of struct RawSMBIOSData. Also, 'Length' field of the aforementioned struct returns a negative value in wine 2.0.3 More info regarding this API can be found at: https://msdn.microsoft.com/en-us/library/windows/desktop/ms724379(v=vs.85).a... Do respond if more info is required. -- 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=44305 --- Comment #1 from Nikolay Sivov <bunglehead(a)gmail.com> --- It does not return empty data or negative length, it doesn't touch your input buffer at all. -- 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=44305 Gaurav Pruthi <gaurav.pruthi88(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|2.0.4 |2.0.3 -- 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=44305 --- Comment #2 from Gaurav Pruthi <gaurav.pruthi88(a)gmail.com> --- Its 3rd argument is populated after the call. A reference from MSDN website: pFirmwareTableBuffer [out] A pointer to a buffer that receives the requested firmware table. If this parameter is NULL, the return value is the required buffer size. For more information on the contents of this buffer, see the Remarks section. -- 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=44305 --- Comment #3 from Nikolay Sivov <bunglehead(a)gmail.com> --- Well yes, but this function is not implemented at all, so don't expect any output from it, that's what I'm saying. -- 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=44305 --- Comment #4 from Gaurav Pruthi <gaurav.pruthi88(a)gmail.com> --- I get NULL when I query about this API in wine1.6 but case is different in wine 2.0.3. Also, there were some changes made in API in wine 1.7. Please check https://bugs.winehq.org/show_bug.cgi?id=37951 for more info. -- 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=44305 --- Comment #5 from Gaurav Pruthi <gaurav.pruthi88(a)gmail.com> --- Is there any plan to implement this function in any upcoming release? -- 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=44305 Alex Henrie <alexhenrie24(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alexhenrie24(a)gmail.com Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |93711aee1fdfdce79b82907b918 | |7e95630ed3055 --- Comment #6 from Alex Henrie <alexhenrie24(a)gmail.com> --- Fixed by https://source.winehq.org/git/wine.git/commitdiff/93711aee1fdfdce79b82907b91... -- 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=44305 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #7 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 3.13. -- 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.
participants (1)
-
wine-bugs@winehq.org