mirror of https://github.com/openssl/openssl.git
Util/Pod.pm: Fix uninitialized $podinfo{lastsecttext} on empty input
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13898)
This commit is contained in:
parent
8a9394c1ed
commit
85c8b87b82
|
|
@ -116,6 +116,7 @@ sub extract_pod_info {
|
|||
|
||||
my @invisible_names = ();
|
||||
my %podinfo = ( section => $defaults{section});
|
||||
$podinfo{lastsecttext} = ""; # init needed in case input file is empty
|
||||
|
||||
# Regexp to split a text into paragraphs found at
|
||||
# https://www.perlmonks.org/?node_id=584367
|
||||
|
|
|
|||
Loading…
Reference in New Issue