<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/html.c, branch v0.9.1</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>https://git.zx2c4.com/cgit/atom/html.c?h=v0.9.1</id>
<link rel='self' href='https://git.zx2c4.com/cgit/atom/html.c?h=v0.9.1'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/'/>
<updated>2011-07-21T14:27:03Z</updated>
<entry>
<title>Merge branch 'stable'</title>
<updated>2011-07-21T14:27:03Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-07-21T14:27:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=bf8c7a4c93bdc95d841b25a60644cca3ec124625'/>
<id>urn:sha1:bf8c7a4c93bdc95d841b25a60644cca3ec124625</id>
<content type='text'>
</content>
</entry>
<entry>
<title>html.c: avoid out-of-bounds access for url_escape_table</title>
<updated>2011-07-21T14:21:52Z</updated>
<author>
<name>Eric Wong</name>
<email>normalperson@yhbt.net</email>
</author>
<published>2011-07-21T03:24:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=9cae75d040d9102d4b628ba3c828d95d0251f5c0'/>
<id>urn:sha1:9cae75d040d9102d4b628ba3c828d95d0251f5c0</id>
<content type='text'>
This fixes a segfault for me with with -O2 optimization on x86
with gcc (Debian 4.4.5-8) 4.4.5

I can reliably reproduce it with the following parameters
when pointed to the git.git repository:

PATH_INFO='/git-core.git/diff/'
QUERY_STRING='id=2b93bfac0f5bcabbf60f174f4e7bfa9e318e64d5&amp;id2=d6da71a9d16b8cf27f9d8f90692d3625c849cbc8'

Signed-off-by: Eric Wong &lt;normalperson@yhbt.net&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'stable'</title>
<updated>2011-05-30T21:57:25Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-05-30T21:57:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=52fbcf2ffac0025128cc1d50681a7ccd859ef3f0'/>
<id>urn:sha1:52fbcf2ffac0025128cc1d50681a7ccd859ef3f0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Properly escape ampersands inside HTML attributes</title>
<updated>2011-05-30T21:55:19Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>cgit@cryptocrack.de</email>
</author>
<published>2011-05-24T18:38:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=69382320d96232ee8c73e664797da61e733c2427'/>
<id>urn:sha1:69382320d96232ee8c73e664797da61e733c2427</id>
<content type='text'>
Ampersands ("&amp;") appearing inside HTML attributes need to be translated
to "&amp;amp;". Otherwise, invalid XHTML will be generated at various
places, such as at tree views containing links to submodules.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'lh/panel'</title>
<updated>2011-05-23T21:29:24Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-05-23T21:29:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=2ffeecb7a6827dcf0f81cf543ed312155f6e8f83'/>
<id>urn:sha1:2ffeecb7a6827dcf0f81cf543ed312155f6e8f83</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix memory leak in http_parse_querystring().</title>
<updated>2011-05-23T20:58:35Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>cgit@cryptocrack.de</email>
</author>
<published>2011-03-30T23:21:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=070e109c1413d28b54eb6123a9fd24ac98897554'/>
<id>urn:sha1:070e109c1413d28b54eb6123a9fd24ac98897554</id>
<content type='text'>
Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fix escaping of paths with spaces</title>
<updated>2011-05-23T20:58:06Z</updated>
<author>
<name>Jonathon Mah</name>
<email>me@JonathonMah.com</email>
</author>
<published>2011-04-10T11:10:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=74152744f0d56c2d0211728206a218a33df41a5d'/>
<id>urn:sha1:74152744f0d56c2d0211728206a218a33df41a5d</id>
<content type='text'>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>html.c: add html_intoption()</title>
<updated>2011-03-06T22:57:26Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-03-06T22:57:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=1a64fd2f83affda41fb9903b7c299d35170bfc05'/>
<id>urn:sha1:1a64fd2f83affda41fb9903b7c299d35170bfc05</id>
<content type='text'>
This is similar to html_option, but for int values.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'stable'</title>
<updated>2011-03-05T13:01:59Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-03-05T13:01:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=1b09cbd303d889ec2636127584d57b7f1b70c25e'/>
<id>urn:sha1:1b09cbd303d889ec2636127584d57b7f1b70c25e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>do not infloop on a query ending in %XY, for invalid hex X or Y</title>
<updated>2011-03-05T12:38:34Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2011-02-28T11:18:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=fc384b16fb9787380746000d3cea2d53fccc548e'/>
<id>urn:sha1:fc384b16fb9787380746000d3cea2d53fccc548e</id>
<content type='text'>
When a query ends in say %gg, (or any invalid hex) e.g.,
http://git.gnome.org/browse/gdlmm/commit/?id=%gg
convert_query_hexchar calls memmove(txt, txt+3, 0), and then returns
txt-1, so the loop in http_parse_querystring never terminates.  The
solution is to make the memmove also copy the trailing NUL.
* html.c (convert_query_hexchar): Fix off-by-one error.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
</feed>
