diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2007-08-04 11:47:40 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2007-08-04 11:47:40 +0000 |
commit | c1531c449f511702d7312c3a88aede46ac195597 (patch) | |
tree | 3a0a2509523244093f8ad97ae83cbaef42834c43 /content | |
parent | 86d0dd8563392e81f2ef18a290637dbda06e9c4d (diff) | |
download | netsurf-c1531c449f511702d7312c3a88aede46ac195597.tar.gz netsurf-c1531c449f511702d7312c3a88aede46ac195597.tar.bz2 |
Fix string length measurement for strings in icons; if the string came from the templates file, it will be LF terminated, not NUL terminated. Therefore, use a strlen variant that terminates on control characters, rather than just \0. This prevents reading memory beyond the end of the string.
svn path=/trunk/netsurf/; revision=3475
Diffstat (limited to 'content')
0 files changed, 0 insertions, 0 deletions