Skip to content
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

Fix strncpy + flash.bin bug #1935

Merged
merged 2 commits into from
Nov 3, 2019
Merged

Conversation

mikee47
Copy link
Contributor

@mikee47 mikee47 commented Nov 3, 2019

Addresses #1932. Also fixes bug introduced in #1913 which affects default location of flash.bin if not specified on command line.

@slaff slaff added this to the 4.0.0 milestone Nov 3, 2019
@slaff
Copy link
Contributor

slaff commented Nov 3, 2019

@mikee47 Is this patch tested ?

@mikee47 mikee47 force-pushed the fix/compiler-warnings branch from 22b6e29 to f755999 Compare November 3, 2019 14:19
@mikee47
Copy link
Contributor Author

mikee47 commented Nov 3, 2019

@slaff OK, tested. The patch to SPIFFS is really just to keep the compiler happy as any paths are checked internally for (SPIFFS_OBJ_NAME_LEN - 1) characters. See spiffs_hydrogen.c SPIFFS_creat, SPIFFS_open, SPIFFS_rename and probably others.

@mikee47 mikee47 changed the title Fix strncpy Fix strncpy + flash.bin bug Nov 3, 2019
@slaff slaff removed the 3 - Review label Nov 3, 2019
@slaff slaff merged commit e7afb0f into SmingHub:develop Nov 3, 2019
@mikee47 mikee47 deleted the fix/compiler-warnings branch November 3, 2019 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants