Tämä sivusto toimii paremmin JavaScriptillä.
Etusivu
Tutki
Apua
Kirjaudu sisään
Immanuel
/
nnn
Tarkkaile
1
Äänestä
0
Fork
0
Koodi
Ongelmat
0
Pull-pyynnöt
0
Julkaisut
0
Wiki
Activity
Selaa lähdekoodia
Guard against too many key-value pairs
master
Arun Prakash Jana
5 vuotta sitten
vanhempi
db129c9120
commit
5533e38fbb
No known key found for this signature in database
GPG Key ID:
A75979F35C080412
1 muutettua tiedostoa
jossa
1 lisäystä
ja
1 poistoa
Jaettu näkymä
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/nnn.c
+ 1
- 1
src/nnn.c
Näytä tiedosto
@@ -2915,7 +2915,7 @@ static bool parsekvpair(kv **arr, char **envcpy, const uchar id, ushort *items)
++nextkey;
}
if (!maxitems)
if (!maxitems
|| maxitems > 100
)
return FALSE;
*arr = calloc(maxitems, sizeof(kv));
Write
Preview
|
|
|
|
|
|
x
0
0
0:0
Loading…
Peruuta
Tallenna