diff options
| author | bt-nia <74181389+bt-nia@users.noreply.github.com> | 2021-08-04 20:07:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-04 20:07:36 +0200 |
| commit | 3fc58b95dc177292ed9b80391ed02747b2249e37 (patch) | |
| tree | 8ad70aa4349b74dde35bb4e7a96347e2c60a72e7 /networkx/readwrite | |
| parent | 2f33447477a0d2e50442672387d86186d760ca9a (diff) | |
| download | networkx-3fc58b95dc177292ed9b80391ed02747b2249e37.tar.gz | |
Added security warning to the pickle documentation (#5002)
* Added security warning to the pickle documentation
This text should warn developers about the risks involved using this format.
* add changed proposed from other pull request
Diffstat (limited to 'networkx/readwrite')
| -rw-r--r-- | networkx/readwrite/gpickle.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/networkx/readwrite/gpickle.py b/networkx/readwrite/gpickle.py index cee8b273..b6029710 100644 --- a/networkx/readwrite/gpickle.py +++ b/networkx/readwrite/gpickle.py @@ -4,6 +4,10 @@ Pickled Graphs ************** Read and write NetworkX graphs as Python pickles. +.. warning:: + The pickle library is not secure and can be used to create arbitray objects. + Only unpickle data you trust - see :doc:`library/pickle` for additional information. + "The pickle module implements a fundamental, but powerful algorithm for serializing and de-serializing a Python object structure. "Pickling" is the process whereby a Python object hierarchy |
