From d0d60e52d4c8cf1d597354b2c336226f3a72cc6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1ll=20Haraldsson?= Date: Mon, 4 Nov 2024 15:07:49 +0000 Subject: [PATCH] Add warning, as and copied from BSON.jl. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index d1cfaa8a..ad674da5 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ JLD2 saves and loads Julia data structures in a format comprising a subset of HDF5, without any dependency on the HDF5 C library. JLD2 is able to read most HDF5 files created by other HDF5 implementations supporting HDF5 File Format Specification Version 3.0 (i.e. libhdf5 1.10 or later) and similarly those should be able to read the files that JLD2 produces. JLD2 provides read-only support for files created with the JLD package. +⚠️ **Warning**: Loading JLD2 files is not safe from malicious or erroneously constructed data. Loading JLD2 files can cause arbitrary code to execute on your machine. Do not load files from unknown or untrusted sources. See more at the [Security](https://juliaio.github.io/JLD2.jl/stable/#Security) section of the manual. + ## Reading and writing data ### `save` and `load` functions