procps_ns_get_id should be checked for < 0 not -1 strncpy should copy only to buflen-1 not buflen References: Coverity 99117, 99108, 99107
612 B
612 B
procps_ns_get_id should be checked for < 0 not -1 strncpy should copy only to buflen-1 not buflen References: Coverity 99117, 99108, 99107