chiark / gitweb /
doxygen: don't crash during search building on too long function arguments.
authorVladimír Vondruš <mosra@centrum.cz>
Tue, 15 May 2018 15:25:25 +0000 (17:25 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Tue, 15 May 2018 15:29:58 +0000 (17:29 +0200)
commit4df10c4afc3baedc711e75e8f902bbfe502b4abc
treeb118fbd237011893f337ccc6f52d9119c18912de
parent4e9f9a33a4453acc77785af19ba53dde33e3136b
doxygen: don't crash during search building on too long function arguments.

In some very pathological cases the function parameter list might exceed
256 characters, which won't fit in the serialized data. But that also
won't fit in the search result list so there's no point in storing so
much. Truncating to 65 characters and adding an ellipsis after.
doxygen/dox2html5.py
doxygen/test/search_long_suffix_length/Doxyfile [new file with mode: 0644]
doxygen/test/search_long_suffix_length/File.h [new file with mode: 0644]
doxygen/test/test_search.py