1
0
镜像自地址 https://git.tukaani.org/xz.git 已同步 2025-07-01 18:06:37 +00:00

liblzma: outqueue: add header guard

Reported by github's codeql.

(cherry picked from commit c7ef767c49351743d8d011574abb9e200bf6b24f)
这个提交包含在:
Sam James 2024-04-15 05:53:01 +01:00 提交者 Lasse Collin
父节点 cede418d4f
当前提交 493bc57c33

查看文件

@ -9,6 +9,9 @@
//
///////////////////////////////////////////////////////////////////////////////
#ifndef LZMA_OUTQUEUE_H
#define LZMA_OUTQUEUE_H
#include "common.h"
@ -251,3 +254,5 @@ lzma_outq_outbuf_memusage(size_t buf_size)
assert(buf_size <= SIZE_MAX - sizeof(lzma_outbuf));
return sizeof(lzma_outbuf) + buf_size;
}
#endif