<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit-70, branch v0.9.0.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.9.0.2</title>
<updated>2011-07-21T14:24:10+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-07-21T14:23:50+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-space.net/cgit-70/commit/?id=654ebb55d4e436ad145061ffb87111cbfcd88565'/>
<id>654ebb55d4e436ad145061ffb87111cbfcd88565</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>html.c: avoid out-of-bounds access for url_escape_table</title>
<updated>2011-07-21T14:21:52+00:00</updated>
<author>
<name>Eric Wong</name>
<email>normalperson@yhbt.net</email>
</author>
<published>2011-07-21T03:24:54+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-space.net/cgit-70/commit/?id=9cae75d040d9102d4b628ba3c828d95d0251f5c0'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: fix failures when CDPATH is set</title>
<updated>2011-07-21T12:48:37+00:00</updated>
<author>
<name>Ferry Huberts</name>
<email>ferry.huberts@pelagic.nl</email>
</author>
<published>2011-07-21T12:43:54+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-space.net/cgit-70/commit/?id=877ff681007f31c69777e9569c4de819d4af19c9'/>
<id>877ff681007f31c69777e9569c4de819d4af19c9</id>
<content type='text'>
Some tests would otherwise fail because commands such as
  cd trash/repos/foo &amp;&amp; git rev-list --reverse HEAD | head -1
would return 2 lines instead of 1: the 'cd' command also
prints the path when CDPATH is set.

Signed-off-by: Ferry Huberts &lt;ferry.huberts@pelagic.nl&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some tests would otherwise fail because commands such as
  cd trash/repos/foo &amp;&amp; git rev-list --reverse HEAD | head -1
would return 2 lines instead of 1: the 'cd' command also
prints the path when CDPATH is set.

Signed-off-by: Ferry Huberts &lt;ferry.huberts@pelagic.nl&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cgit.c: improve error message when git repo cannot be accessed</title>
<updated>2011-06-18T12:59:01+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-06-18T12:32:43+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-space.net/cgit-70/commit/?id=9900ac022edfcfacee317d19a0f1d4d03b837b43'/>
<id>9900ac022edfcfacee317d19a0f1d4d03b837b43</id>
<content type='text'>
The current 'Not a git repository' error message is not very helpful,
since it doesn't state the cause of the problem.

This patch uses errno to provide a hint of the underlying problem. It
would have been even better to give the exact cause (e.g. for ENOENT it
would be nice to know which file/directory is missing), but that would
require reimplementing setup_git_directory_gently() which seems a bit
overkill.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current 'Not a git repository' error message is not very helpful,
since it doesn't state the cause of the problem.

This patch uses errno to provide a hint of the underlying problem. It
would have been even better to give the exact cause (e.g. for ENOENT it
would be nice to know which file/directory is missing), but that would
require reimplementing setup_git_directory_gently() which seems a bit
overkill.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cgitrc.5.txt: document repo.module-link</title>
<updated>2011-06-15T08:39:43+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-06-15T07:58:42+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-space.net/cgit-70/commit/?id=46ca32e04319caf9dd65f9de47704d637547ad23'/>
<id>46ca32e04319caf9dd65f9de47704d637547ad23</id>
<content type='text'>
The global module-link option can be overridden per repo, but this has
never been documented.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The global module-link option can be overridden per repo, but this has
never been documented.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cgitrc.5.txt: describe macro expansion of cgitrc options</title>
<updated>2011-06-13T21:59:50+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-06-13T21:58:39+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-space.net/cgit-70/commit/?id=ef13e5eafe16474bb5b3c3b8156bbb24a9249b2e'/>
<id>ef13e5eafe16474bb5b3c3b8156bbb24a9249b2e</id>
<content type='text'>
This is a new feature in cgit-0.9 which was formerly undocumented.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a new feature in cgit-0.9 which was formerly undocumented.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>README: update some stale information/add some new</title>
<updated>2011-06-13T13:27:32+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-06-13T13:24:46+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-space.net/cgit-70/commit/?id=2a0c9dcbe81db150bd778ce1ea1aff550d198c4d'/>
<id>2a0c9dcbe81db150bd778ce1ea1aff550d198c4d</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 0.9.0.1</title>
<updated>2011-06-13T12:37:04+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-06-13T12:37:04+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-space.net/cgit-70/commit/?id=978275222307f6a23dba5b093189f162a7ec2351'/>
<id>978275222307f6a23dba5b093189f162a7ec2351</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: fix html and links generated by print_dir() and print_dir_entry()</title>
<updated>2011-06-12T21:21:30+00:00</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-06-12T20:49:35+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-space.net/cgit-70/commit/?id=7f88d20823ad9d375900657334bc27793860f6ee'/>
<id>7f88d20823ad9d375900657334bc27793860f6ee</id>
<content type='text'>
This patch fixes the following issues:
* the base argument usually isn't zero-terminated, so printing base
  without considering baselen will usually generate random garbage
* when the current url represents a directory but doesn't end in a slash,
  relative urls would be incorrect
* using unescaped paths allows XSS

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch fixes the following issues:
* the base argument usually isn't zero-terminated, so printing base
  without considering baselen will usually generate random garbage
* when the current url represents a directory but doesn't end in a slash,
  relative urls would be incorrect
* using unescaped paths allows XSS

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>scan-tree.c: avoid memory leak</title>
<updated>2011-06-06T19:10:31+00:00</updated>
<author>
<name>Jamie Couture</name>
<email>jamie.couture@gmail.com</email>
</author>
<published>2011-06-03T23:21:01+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-space.net/cgit-70/commit/?id=2a8f553163d642e60092ced20631e1020581273b'/>
<id>2a8f553163d642e60092ced20631e1020581273b</id>
<content type='text'>
No references are kept to the memory pointed to by the 'rel' variable, so
it should be free()'d before returning from add_repo().

Signed-off-by: Jamie Couture &lt;jamie.couture@gmail.com&gt;
Signed-off-by: Lars Hjemli &lt;larsh@hjemli.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No references are kept to the memory pointed to by the 'rel' variable, so
it should be free()'d before returning from add_repo().

Signed-off-by: Jamie Couture &lt;jamie.couture@gmail.com&gt;
Signed-off-by: Lars Hjemli &lt;larsh@hjemli.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
