projects
/
browser-switch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from:
a9b3f95
)
Fix off-by-one error in launch_other_browser
author
Steven Luo
<steven+maemo@steven676.net>
Sun, 13 Dec 2009 08:45:12 +0000
(
00:45
-0800)
committer
Steven Luo
<steven+maemo@steven676.net>
Sun, 13 Dec 2009 08:45:12 +0000
(
00:45
-0800)
quote+1 has length one less than quote, so asking memmove() to move
strlen(quote)+1 bytes (including the \0) starting at quote+1 results in
writing one byte beyond the end of the memory area. Found by valgrind.
No differences found