mirror of
https://github.com/pcvolkmer/osc-variant.git
synced 2025-04-19 11:46:50 +00:00
fix: deob function
This commit is contained in:
parent
6916f8ad60
commit
5b6ae2794e
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -238,7 +238,7 @@ checksum = "da692b8d1080ea3045efaab14434d40468c3d8657e42abddfffca87b428f4c1b"
|
||||
|
||||
[[package]]
|
||||
name = "deob"
|
||||
version = "0.1.1"
|
||||
version = "0.1.2"
|
||||
dependencies = [
|
||||
"cc",
|
||||
]
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "deob"
|
||||
version = "0.1.1"
|
||||
version = "0.1.2"
|
||||
edition = "2021"
|
||||
|
||||
[build-dependencies]
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user