<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit-70, branch v0.8.2.2</title>
<subtitle>a fork of cgit with a Gopher interface</subtitle>
<link rel='alternate' type='text/html' href='http://ns2.complex-space.net/cgit-70/'/>
<entry>
<title>CGIT 0.8.2.2</title>
<updated>2009-09-13T20:14:12+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-09-13T20:14:12+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-space.net/cgit-70/commit/?id=f92ca06e4bcb4aee051e199a8148c42210ec7a80'/>
<id>f92ca06e4bcb4aee051e199a8148c42210ec7a80</id>
<content type='text'>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-plain.c: only return the blob with the specified path</title>
<updated>2009-09-06T17:33:10+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>larsh@slackbox.hjemli.net</email>
</author>
<published>2009-09-06T17:33:10+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-space.net/cgit-70/commit/?id=b507252b469333d06afff0888d466e39124a7e07'/>
<id>b507252b469333d06afff0888d466e39124a7e07</id>
<content type='text'>
When a path to a directory was specified for the 'plain'
view, each blob in the directory used to be returned to
the client. This patch fixes the issue by matching the
path of each blob against the requested path.

Noticed-by: Lars Stoltenow &lt;penma@penma.de&gt;
Signed-off-by: Lars Hjemli &lt;larsh@slackbox.hjemli.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a path to a directory was specified for the 'plain'
view, each blob in the directory used to be returned to
the client. This patch fixes the issue by matching the
path of each blob against the requested path.

Noticed-by: Lars Stoltenow &lt;penma@penma.de&gt;
Signed-off-by: Lars Hjemli &lt;larsh@slackbox.hjemli.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>truncate buffer before reading empty files</title>
<updated>2009-08-18T12:27:41+00:00</updated>
<author>
<name>Simon Arlott</name>
<email>simon@fire.lp0.eu</email>
</author>
<published>2009-03-07T00:06:24+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-space.net/cgit-70/commit/?id=011f2e9bdddcbfe65da397629bca87d167313a28'/>
<id>011f2e9bdddcbfe65da397629bca87d167313a28</id>
<content type='text'>
If readfile() reads an empty file, fgets() won't truncate the buffer
and it'll still contain the contents of the previously read file.

[lh: fixed similar issue in ui-repolist.c]

Signed-off-by: Simon Arlott &lt;simon@fire.lp0.eu&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If readfile() reads an empty file, fgets() won't truncate the buffer
and it'll still contain the contents of the previously read file.

[lh: fixed similar issue in ui-repolist.c]

Signed-off-by: Simon Arlott &lt;simon@fire.lp0.eu&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-shared: don't print header &lt;img/&gt; if there isn't a logo defined</title>
<updated>2009-08-18T11:13:51+00:00</updated>
<author>
<name>Matthew Metnetsky</name>
<email>mimetnet@vidu.us</email>
</author>
<published>2009-06-30T01:27:51+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-space.net/cgit-70/commit/?id=6421dc38db02eff8d3ada93e87a2f7e5292af131'/>
<id>6421dc38db02eff8d3ada93e87a2f7e5292af131</id>
<content type='text'>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cgit.c: do not segfault on unexpected query-string format</title>
<updated>2009-08-17T07:26:17+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-08-17T07:05:13+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-space.net/cgit-70/commit/?id=435a1da8d1c43bff2f2ccd5649ea8510eec0b2af'/>
<id>435a1da8d1c43bff2f2ccd5649ea8510eec0b2af</id>
<content type='text'>
The querystring_cb() function will be invoked with a NULL value when
the querystring contains a name not followed by a '='. Such a value
used to cause a segfault, which this patch fixes.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The querystring_cb() function will be invoked with a NULL value when
the querystring contains a name not followed by a '='. Such a value
used to cause a segfault, which this patch fixes.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-tag.c: do not segfault when id is missing from query-string</title>
<updated>2009-08-17T07:24:36+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-08-17T07:19:05+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-space.net/cgit-70/commit/?id=8a631b1173b1abecc5a737b0e21751ddbabf9df2'/>
<id>8a631b1173b1abecc5a737b0e21751ddbabf9df2</id>
<content type='text'>
The purpose of the tag page is to print info about a specific tag,
but if no tag was specified on the query-string cgit used to segfault.

With this patch, cgit will fallback to the value of the 'h' parameter
instead (which is never NULL due to prepare_repo_cmd() in cgit.c).

It will now also verify that the specified tagname is in fact a valid
ref in the 'refs/tags/' namespace, i.e. specifying 'id=master' will
trigger a 'Bad tag reference' error.

Noticed-by: Eric Wong &lt;normalperson@yhbt.net&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The purpose of the tag page is to print info about a specific tag,
but if no tag was specified on the query-string cgit used to segfault.

With this patch, cgit will fallback to the value of the 'h' parameter
instead (which is never NULL due to prepare_repo_cmd() in cgit.c).

It will now also verify that the specified tagname is in fact a valid
ref in the 'refs/tags/' namespace, i.e. specifying 'id=master' will
trigger a 'Bad tag reference' error.

Noticed-by: Eric Wong &lt;normalperson@yhbt.net&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>CGIT 0.8.2.1</title>
<updated>2009-03-15T08:31:05+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-03-15T08:31:05+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-space.net/cgit-70/commit/?id=fdd559abd6e6ec5e522dc5496b2bcabd36d6ba9d'/>
<id>fdd559abd6e6ec5e522dc5496b2bcabd36d6ba9d</id>
<content type='text'>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-snapshot: avoid segfault when no filename is specified</title>
<updated>2009-03-15T07:57:33+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-03-15T07:57:33+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-space.net/cgit-70/commit/?id=6fddad7251021b307c8a3f70fdd2aa04c3f74eaa'/>
<id>6fddad7251021b307c8a3f70fdd2aa04c3f74eaa</id>
<content type='text'>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix segfault when displaying empty blobs</title>
<updated>2009-03-15T07:46:15+00:00</updated>
<author>
<name>Eric Wong</name>
<email>normalperson@yhbt.net</email>
</author>
<published>2009-03-15T01:41:47+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-space.net/cgit-70/commit/?id=112973615a78ce61fd6e767128df03b075be72ca'/>
<id>112973615a78ce61fd6e767128df03b075be72ca</id>
<content type='text'>
When size is zero, subtracting one from it turns it into
ULONG_MAX which causes an out-of-bounds access on buf.

Signed-off-by: Eric Wong &lt;normalperson@yhbt.net&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When size is zero, subtracting one from it turns it into
ULONG_MAX which causes an out-of-bounds access on buf.

Signed-off-by: Eric Wong &lt;normalperson@yhbt.net&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ui-tree: escape ascii-text properly in hexdump view</title>
<updated>2009-02-12T10:26:14+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2009-02-12T10:26:14+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-space.net/cgit-70/commit/?id=6063e7b5532481ffaa7a6f080de28547983bbeb7'/>
<id>6063e7b5532481ffaa7a6f080de28547983bbeb7</id>
<content type='text'>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
