mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
aedc4c3e37
A style-sheet containing the string "url( )" with 1 or more characters of whitespace in between the parentheses triggered an assertion failure in scan_css_token. scan_css_token would find the left parenthesis, find the right parenthesis, and then scan forwards from the left parenthesis for a non-whitespace character to find the start of the URL and backwards from the right parenthesis to find the end of the URL. If there were whitespace and nothing else, the start would be past the end, the routine would compute a negative length for the URL, and then the routine would trigger an assertion failure. Now the routine simply enforces a lower bound of length 0 for the URL. |
||
---|---|---|
.. | ||
css | ||
sgml | ||
test | ||
code.h | ||
configuration.c | ||
configuration.h | ||
Doxyfile | ||
Makefile | ||
node.c | ||
node.h | ||
scanner.c | ||
scanner.h | ||
select.c | ||
select.h | ||
stack.c | ||
stack.h | ||
string.h |