summaryrefslogtreecommitdiff
path: root/ext/GDBM_File
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2018-01-24 15:03:39 +1100
committerTony Cook <tony@develop-help.com>2018-11-05 10:19:05 +1100
commite459aaffe40291395017cc002fc6d261e7cae0ae (patch)
tree2dae59e2da7acd1d1d1229ad485321e085e149ee /ext/GDBM_File
parentf196658042490a6287fc178f0bc20fd5558ac54b (diff)
downloadperl-e459aaffe40291395017cc002fc6d261e7cae0ae.tar.gz
(perl #132147) add security warnings to the *DBM_File modules
Diffstat (limited to 'ext/GDBM_File')
-rw-r--r--ext/GDBM_File/GDBM_File.pm12
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/GDBM_File/GDBM_File.pm b/ext/GDBM_File/GDBM_File.pm
index a33b8b59b1..fe34470bd3 100644
--- a/ext/GDBM_File/GDBM_File.pm
+++ b/ext/GDBM_File/GDBM_File.pm
@@ -31,6 +31,18 @@ C<ftp.gnu.org>, but you are strongly urged to use one of the many
mirrors. You can obtain a list of mirror sites from
L<http://www.gnu.org/order/ftp.html>.
+=head1 SECURITY AND PORTABILITY
+
+B<Do not accept GDBM files from untrusted sources.>
+
+GDBM files are not portable across platforms.
+
+The GDBM documentation doesn't imply that files from untrusted sources
+can be safely used with C<libgdbm>.
+
+A maliciously crafted file might cause perl to crash or even expose a
+security vulnerability.
+
=head1 BUGS
The available functions and the gdbm/perl interface need to be documented.