The external input comes from the kernel's /proc/cpuinfo, so this should not have been exploitable.
Signed-off-by: Denis 'GNUtoo' Carikli <gnu...@cyberdimension.org> --- samsung-ipc/ipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samsung-ipc/ipc.c b/samsung-ipc/ipc.c index 070d736..99a585a 100644 --- a/samsung-ipc/ipc.c +++ b/samsung-ipc/ipc.c @@ -74,7 +74,7 @@ int ipc_device_detect(void) line = strtok(buffer, "\n"); while (line != NULL) { - if (strncmp(line, "Hardware", 9) == 9) { + if (strncmp(line, "Hardware", 8) == 8) { p = line + 11; c = p; -- 2.22.0
pgpAm5x7LU_L9.pgp
Description: OpenPGP digital signature
_______________________________________________ Replicant mailing list Replicant@osuosl.org https://lists.osuosl.org/mailman/listinfo/replicant