aboutsummaryrefslogtreecommitdiffstats
path: root/erts/preloaded/ebin/erlang.beam
diff options
context:
space:
mode:
authorTaylor Venable <[email protected]>2011-02-01 18:52:10 -0500
committerTaylor Venable <[email protected]>2011-02-01 18:52:10 -0500
commit6ac05e50a77cc8ebcf335fd9d6908efc74e3e201 (patch)
tree803f8c409b192bb2491ccd28c983059c2a46b6a5 /erts/preloaded/ebin/erlang.beam
parent62dad961329a603110ce0e1d3f62554cc5228152 (diff)
downloadotp-6ac05e50a77cc8ebcf335fd9d6908efc74e3e201.tar.gz
otp-6ac05e50a77cc8ebcf335fd9d6908efc74e3e201.tar.bz2
otp-6ac05e50a77cc8ebcf335fd9d6908efc74e3e201.zip
Fix infinite loop for malformed edoc input
When processing an edoc comment with ``` in it, if the comment ends without a matching ''' then an infinite loop occurs in the function edoc_wiki:strip_empty_lines/2. This change fixes that by adding a clause to return from the function upon the end of the comment input. This allows an error to be thrown to indicate the problem, which is the same behaviour as leaving either `` or ` unmatched.
Diffstat (limited to 'erts/preloaded/ebin/erlang.beam')
0 files changed, 0 insertions, 0 deletions