- inserted comments
This commit is contained in:
1
arrobj.c
1
arrobj.c
@ -155,6 +155,7 @@ static int ArrayMakeItem(void *object, void *delete, int argc,
|
|||||||
assert(arr);
|
assert(arr);
|
||||||
if (argc < 1)
|
if (argc < 1)
|
||||||
goto Usage;
|
goto Usage;
|
||||||
|
/* missing check for user privilege */
|
||||||
last = &arr->items;
|
last = &arr->items;
|
||||||
for (item = arr->items; item != NULL; item = item->next) {
|
for (item = arr->items; item != NULL; item = item->next) {
|
||||||
if (strcasecmp(argv[0], item->name) == 0) {
|
if (strcasecmp(argv[0], item->name) == 0) {
|
||||||
|
Reference in New Issue
Block a user