Better be safe than sorry! ;) Acked-by: Fil Bergamo <fil.berg...@riseup.net>
On 16/08/19 19:52, Denis 'GNUtoo' Carikli wrote: > 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; > > > > _______________________________________________ > Replicant mailing list > Replicant@osuosl.org > https://lists.osuosl.org/mailman/listinfo/replicant
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Replicant mailing list Replicant@osuosl.org https://lists.osuosl.org/mailman/listinfo/replicant