-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
st-flash 1.6.1 mmap() size_t overflow for file #988
Comments
@imyaFamiliev, Can you provide some information about the issue you complain? |
@imyaFamiliev, please provide the size of ./build/iss.bin |
@imyaFamiliev: Please use the Template form you just deleted and fill it out. Otherwise I may simply discard this ticket - I'm fed up with this - really. We have so clear instructions on how to open issues properly and most people seem able to understand these. |
iss.bin 131384 bytes |
ok, message will be fixed. |
Please follow #906. |
Does this already occur with Release v1.6.0?
Don't use external drivers along with this stlink-toolset; this is not expected to work anyway. |
@Nightwalker-87 don't see windows release build of v1.6.0 |
oh, yeah - that's right. Please follow |
1.6.0 flashes ok
|
st-flash from stlink-1.6.1-i686-w64-mingw32.zip work well. |
@imyaFamiliev which toolchain you use to build st-link? It is 64 or 32 bit one? |
for 1.6.0 i use x86_64-5.3.0-win32-sjlj-rt_v4-rev0 as used in mingw64-build.bat |
i have Intel(R)_Core(TM)_i5-8400_CPU |
This could be somehow similar to the casting issues we faced with clang on macOS earlier, just in another context ... |
It seems to be caused by a size check combined with a cast somewhere |
Hello!
st-link driver 1.1.0.0 install from STM32 ST-LINK Utility v4.5.0.exe
using firmware iss.bin size 131384 bytes
try WinUSB (v6.1.7600.16385) driver, same result
Commandline-Output:
Expected/description:
the flashing was success , when i use stlink-1.5.1 from https://github.com/texane/stlink
The text was updated successfully, but these errors were encountered: