Mathieu Desnoyers wrote: > Is it that both memcpy and memcmp ensure that NULL pointers are never a > problem when the length is 0 ?
As far as I know, memcpy(ptr, NULL, 0) and memcmp(ptr, NULL, 0) are safe. _______________________________________________ stable mailing list stable@linux.kernel.org http://linux.kernel.org/mailman/listinfo/stable