mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-12-22 03:26:17 +00:00
Revert "added the Uzbek language я исправил потвердите (#3306)"
This reverts commit d3b911d249.
This commit is contained in:
@@ -25,19 +25,6 @@
|
||||
#include <string.h>
|
||||
#include <lzma.h>
|
||||
|
||||
#if defined(__STDC_LIB_EXT1__)
|
||||
/* Use memset_s if available */
|
||||
#define secure_memset(dest, value, len) memset_s((dest), (len), (value), (len))
|
||||
#else
|
||||
/* Fallback secure_memset implementation */
|
||||
static void secure_memset(void *v, int c, size_t n) {
|
||||
volatile unsigned char *p = (volatile unsigned char *)v;
|
||||
while (n--) {
|
||||
*p++ = (unsigned char)c;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#include "squashfs_fs.h"
|
||||
#include "compressor.h"
|
||||
|
||||
@@ -133,7 +120,7 @@ static int lzma_uncompress(void *dest, void *src, int size, int outsize,
|
||||
goto failed;
|
||||
}
|
||||
|
||||
secure_memset(lzma_header + LZMA_PROPS_SIZE, 255, LZMA_UNCOMP_SIZE);
|
||||
memset(lzma_header + LZMA_PROPS_SIZE, 255, LZMA_UNCOMP_SIZE);
|
||||
|
||||
strm.next_out = dest;
|
||||
strm.avail_out = outsize;
|
||||
|
||||
Reference in New Issue
Block a user