1
0
forked from pool/libfvalue

[info=2df836ddb736a13c96397f8a36728b284fa44260e021c3e579dab154216f66c4]

OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfvalue?expand=0&rev=27
This commit is contained in:
OBS User unknown 2024-11-02 16:08:44 +00:00 committed by Git OBS Bridge
parent 7b7086aba1
commit 85c2b9406a
3 changed files with 21 additions and 5 deletions

View File

@ -7,9 +7,9 @@ Subject: [PATCH] Export libfvalue_value_get_entry
it needs to be exported for DLLs to work correctly. This patch it needs to be exported for DLLs to work correctly. This patch
corrects that problem. corrects that problem.
--- ---
include/libfvalue.h.in | 8 ++++++++ include/libfvalue.h.in | 17 +++++++++++++++++
libfvalue/libfvalue_value.h | 8 -------- libfvalue/libfvalue_value.h | 8 --------
2 files changed, 8 insertions(+), 8 deletions(-) 2 files changed, 17 insertions(+), 8 deletions(-)
Index: libfvalue-20240415/include/libfvalue.h.in Index: libfvalue-20240415/include/libfvalue.h.in
=================================================================== ===================================================================
@ -30,6 +30,22 @@ Index: libfvalue-20240415/include/libfvalue.h.in
/* Retrieves the entry data /* Retrieves the entry data
* Returns 1 if successful, 0 if the value has no data or -1 on error * Returns 1 if successful, 0 if the value has no data or -1 on error
*/ */
@@ -979,6 +987,15 @@ int libfvalue_value_append_entry_data(
int encoding,
libfvalue_error_t **error );
+LIBFVALUE_EXTERN \
+int libfvalue_value_copy_entry_data(
+ libfvalue_value_t *value,
+ int value_entry_index,
+ uint8_t *entry_data,
+ size_t entry_data_size,
+ int *encoding,
+ libcerror_error_t **error );
+
/* Copies the value data from a boolean value
* Returns 1 if successful, 0 if value could not be set or -1 on error
*/
Index: libfvalue-20240415/libfvalue/libfvalue_value.h Index: libfvalue-20240415/libfvalue/libfvalue_value.h
=================================================================== ===================================================================
--- libfvalue-20240415.orig/libfvalue/libfvalue_value.h --- libfvalue-20240415.orig/libfvalue/libfvalue_value.h

View File

@ -1,4 +1,4 @@
mtime: 1730563434 mtime: 1730563711
commit: 6bfe93a57c55b662d39c5972f71a08547eb0b6f7033f875e40be5deb371a3bae commit: 2df836ddb736a13c96397f8a36728b284fa44260e021c3e579dab154216f66c4
url: https://src.opensuse.org/jengelh/libfvalue url: https://src.opensuse.org/jengelh/libfvalue
revision: master revision: master

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:97770828b58e571fafa2bde5186ccc14641eb9dae5d9491391b4c192c36da5b9 oid sha256:b384314197b8d1796dff99a4cdb03e297e13b1501c54c11edd2dd4aaa99d21db
size 256 size 256