vmstat: Replace memcmp() with strncmp().
Otherwise this may read out-of-bounds (there is no guarantee that 5 bytes are actually available at partition/optarg).
This commit is contained in:
1 parent
4ce81d4dcc
commit
b4f4718481
1 file changed
+1
-1