forked from espressif/arduino-esp32
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit 6476260
fix(esp32): Fix appending to Strings longer than 64k (espressif#11523)
If oldLen is truncated to uint16_t, appending to a String
that is longer than 65535 bytes will create a broken string.1 parent 6754b19 commit 6476260
1 file changed
+3
-3
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
180 | 180 |
| |
181 | 181 |
| |
182 | 182 |
| |
183 | - | ||
183 | + | ||
184 | 184 |
| |
185 | 185 |
| |
186 | 186 |
| |
187 | 187 |
| |
188 | 188 |
| |
189 | 189 |
| |
190 | 190 |
| |
191 | - | ||
191 | + | ||
192 | 192 |
| |
193 | 193 |
| |
194 | 194 |
| |
| |||
201 | 201 |
| |
202 | 202 |
| |
203 | 203 |
| |
204 | - | ||
204 | + | ||
205 | 205 |
| |
206 | 206 |
| |
207 | 207 |
| |
|
0 commit comments