mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[PR #286] [MERGED] Don't add custom parameters if array size is exceeded #1600
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#1600
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/286
Author: @vyruz1986
Created: 1/8/2017
Status: ✅ Merged
Merged: 2/2/2017
Merged by: @tzapu
Base:
master← Head:master📝 Commits (1)
1f500fdDon't add custom parameters if array size is exceeded📊 Changes
1 file changed (+8 additions, -0 deletions)
View changed files
📝
WiFiManager.cpp(+8 -0)📄 Description
array containing custom parameters is initialised at class
initialization time with a fixed value. When we later try to add more
parameters than the array allows we will now discard the offending
parameters and make a debug logging so the developer knows what's going
on.
Might be further improved as per this answer on StackOverflow:
http://stackoverflow.com/a/12271501
This would allow the array size to be specified at initialisation time,
and would give flexibility to the developer to decide how big the array
should be.
closes tzapu/WiFiManager#285
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.