summaryrefslogtreecommitdiff
path: root/content/fetch.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2007-08-04 11:47:40 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2007-08-04 11:47:40 +0000
commitc1531c449f511702d7312c3a88aede46ac195597 (patch)
tree3a0a2509523244093f8ad97ae83cbaef42834c43 /content/fetch.c
parent86d0dd8563392e81f2ef18a290637dbda06e9c4d (diff)
downloadnetsurf-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/fetch.c')
0 files changed, 0 insertions, 0 deletions