diff --git a/Cargo.lock b/Cargo.lock index 43b0c01..466bfba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -238,7 +238,7 @@ checksum = "da692b8d1080ea3045efaab14434d40468c3d8657e42abddfffca87b428f4c1b" [[package]] name = "deob" -version = "0.1.1" +version = "0.1.2" dependencies = [ "cc", ] diff --git a/libs/deob/Cargo.toml b/libs/deob/Cargo.toml index 26d9604..0c1e852 100644 --- a/libs/deob/Cargo.toml +++ b/libs/deob/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deob" -version = "0.1.1" +version = "0.1.2" edition = "2021" [build-dependencies] diff --git a/libs/deob/src/deob.c b/libs/deob/src/deob.c index ce5fd9c..5b78788 100644 --- a/libs/deob/src/deob.c +++ b/libs/deob/src/deob.c @@ -1,7 +1,7 @@ /* * This file is part of osc-variant * - * Copyright (C) 2023-2024 the original author or authors. + * Copyright (C) 2023-2025 the original author or authors. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,7 +21,7 @@ #include "deob.h" void deob(char *in) { - char *d = malloc(LD*sizeof(char)); + char *d = malloc((LD+2)*sizeof(char)); const long long s[2] = {S0, S1}; for (size_t i = 0; i < LD; i++) d[i] = (CS)[i]; size_t l = strlen(in) / 2; diff --git a/libs/deob/src/deob.h b/libs/deob/src/deob.h index ee77202..12c763b 100644 --- a/libs/deob/src/deob.h +++ b/libs/deob/src/deob.h @@ -1,7 +1,7 @@ /* * This file is part of osc-variant * - * Copyright (C) 2023-2024 the original author or authors. + * Copyright (C) 2023-2025 the original author or authors. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by