mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 17:15:53 +03:00
[PR #743] [MERGED] Set value #1673
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#1673
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/tzapu/WiFiManager/pull/743
Author: @dontsovcmc
Created: 9/24/2018
Status: ✅ Merged
Merged: 9/26/2018
Merged by: @tablatronix
Base:
development← Head:setValue📝 Commits (2)
85b2319correct your idea about deflength7d42423value limit is length📊 Changes
1 file changed (+3 additions, -12 deletions)
View changed files
📝
WiFiManager.cpp(+3 -12)📄 Description
Firstly, I correct your error:
if(_length < length){toif(_length < deflength){but it is dangerous to use strlen for default value cause overflow.
I remove you code to increate length.
Secondly,
a. memset
b. need not _value[_length] = '\0'; case already memset with length+1
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.