diff options
author | Lars Hjemli <hjemli@gmail.com> | 2011-07-22 12:22:17 +0000 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2011-07-22 12:22:17 +0000 |
commit | 756e3ea6392e30bcd0a41346d4ffa42c56d715e2 (patch) | |
tree | 5b5da8cd867dfe801ecfc4c6c2c2b01a00cc4ea8 /parsing.c | |
parent | Merge branch 'stable' (diff) | |
parent | Fix potential XSS vulnerability in rename hint (diff) | |
download | cgit-pink-756e3ea6392e30bcd0a41346d4ffa42c56d715e2.tar.gz cgit-pink-756e3ea6392e30bcd0a41346d4ffa42c56d715e2.zip |
Merge branch 'stable'
Diffstat (limited to '')
-rw-r--r-- | parsing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parsing.c b/parsing.c index 151c0fe..602e3de 100644 --- a/parsing.c +++ b/parsing.c @@ -125,7 +125,7 @@ const char *reencode(char **txt, const char *src_enc, const char *dst_enc) struct commitinfo *cgit_parse_commit(struct commit *commit) { struct commitinfo *ret; - char *p = commit->buffer, *t = commit->buffer; + char *p = commit->buffer, *t; ret = xmalloc(sizeof(*ret)); ret->commit = commit; |