diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2013-07-25 15:52:22 -0400 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2013-07-25 15:52:22 -0400 |
commit | c83f8355165287897ceb69255f4a7de1d475752e (patch) | |
tree | 0be9d74bdbcfee4a40334d0dd3fd132b55aef249 /src/url.c | |
parent | aa11ed3b29b10dfc6c3107f4023420c1730de7be (diff) |
Fix a bug with injected HTML that could lead to reads out of bounds.
Problem details are in getCurTagLineNumber.html.asan file.
This solution adds a flag to avoid potential HTML bug messages generation for
injected HTML. The problem is that injected HTML lies in a separate buffer
so the line number counter gets lost. BTW, there's no point in the bug message
because the user never sees the browser-injected HTML sources.
In this particular case there was a bug in the original html file that
went unreported. This patch also fixes this.
Diffstat (limited to 'src/url.c')
0 files changed, 0 insertions, 0 deletions