https://bugs.winehq.org/show_bug.cgi?id=51574
Bug ID: 51574 Summary: swscanf_s with %zu fails for valid value Product: Wine Version: 6.14 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcrt Assignee: wine-bugs@winehq.org Reporter: winebugs@63bit.net Distribution: ---
Running Microsoft Texconv.exe with parameters specifying height or width returns "Invalid value specified for h (512)".
Link to source is here: https://github.com/microsoft/DirectXTex/blob/54ce2c8da97c3508899c31f80bfb1ec...
Link to binary is here: https://github.com/microsoft/DirectXTex/releases/download/aug2021/texconv.ex...
Example failing arguments are '-nowic -nologo -y -sepalpha -h 512 -w 512 -aw 256 -keepcoverage 0 -f BC7_UNORM -bc q -o "C:\dyndolod\TexGen_Output\Textures\lod" "C:\dyndolod\TexGen_Output\Textures\lod\bridge01lod.dds"'
https://bugs.winehq.org/show_bug.cgi?id=51574
winebugs@63bit.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://github.com/microsof | |t/DirectXTex/releases/downl | |oad/aug2021/texconv.exe
https://bugs.winehq.org/show_bug.cgi?id=51574
--- Comment #1 from winebugs@63bit.net --- Also relevant
https://github.com/microsoft/DirectXTex/issues/128 https://github.com/spooknik/SkyrimSE-Linux-Modding/issues/5
https://bugs.winehq.org/show_bug.cgi?id=51574
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban@gmail.com
--- Comment #2 from Piotr Caban piotr.caban@gmail.com --- z length modifier was implemented by 5d5f11c0029691abb8962e8125bde5dfd40ba249 commit. Please retest.
https://bugs.winehq.org/show_bug.cgi?id=51574
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |5d5f11c0029691abb8962e8125b | |de5dfd40ba249
--- Comment #3 from Piotr Caban piotr.caban@gmail.com --- The command line option is now correctly parsed. Marking as fixed.
https://bugs.winehq.org/show_bug.cgi?id=51574
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.20.
https://bugs.winehq.org/show_bug.cgi?id=51574
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0.x
https://bugs.winehq.org/show_bug.cgi?id=51574
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0.x |---
--- Comment #5 from Michael Stefaniuc mstefani@winehq.org --- Removing the 6.0.x milestone from bug fixes included in 6.0.3.