Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
Immanuel
/
nnn
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
Guard against too many key-value pairs
master
Arun Prakash Jana
5 anni fa
parent
db129c9120
commit
5533e38fbb
Non sono state trovate chiavi note per questa firma nel database
ID Chiave GPG:
A75979F35C080412
1 ha cambiato i file
con
1 aggiunte
e
1 eliminazioni
Visualizzazione separata
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/nnn.c
+ 1
- 1
src/nnn.c
Vedi File
@@ -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
Loading…
Annulla
Salva