Codebase list slapi-nis / 207012a
- allocate 'tmp' as an array of 'char *', and not 'char **' (defect #10112) Nalin Dahyabhai 13 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
406406 if (slapi_vattr_values_get(e, (char *) attribute,
407407 &values, &disposition, &actual_attr,
408408 0, &buffer_flags) == 0) {
409 tmp = malloc(sizeof(char **) *
409 tmp = malloc(sizeof(char *) *
410410 (slapi_valueset_count(values) + 1));
411411 if (tmp != NULL) {
412412 j = 0;