<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/src/signature.c, branch peff/binary-search-do-while</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/'/>
<entry>
<title>signature: don't leave a dangling pointer to the strings on parse failure</title>
<updated>2017-07-12T05:41:37+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2017-07-12T05:40:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=d1dbb3ae67c156093419157eaf2fc6b8281432b8'/>
<id>d1dbb3ae67c156093419157eaf2fc6b8281432b8</id>
<content type='text'>
If the signature is invalid but we detect that after allocating the strings, we
free them. We however leave that pointer dangling in the structure the caller
gave us, which can lead to double-free.

Set these pointers to `NULL` after freeing their memory to avoid this.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the signature is invalid but we detect that after allocating the strings, we
free them. We however leave that pointer dangling in the structure the caller
gave us, which can lead to double-free.

Set these pointers to `NULL` after freeing their memory to avoid this.
</pre>
</div>
</content>
</entry>
<entry>
<title>signature: free dup'd buffers on parse error</title>
<updated>2017-05-01T21:55:12+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2017-05-01T20:32:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=34c131062412480abd87ab825c2cd6c1b691e5f5'/>
<id>34c131062412480abd87ab825c2cd6c1b691e5f5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>giterr_set: consistent error messages</title>
<updated>2016-12-29T12:26:03+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2016-12-29T12:25:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=909d5494368a00809bc42f4780e86f4dd66e4422'/>
<id>909d5494368a00809bc42f4780e86f4dd66e4422</id>
<content type='text'>
Error messages should be sentence fragments, and therefore:

1. Should not begin with a capital letter,
2. Should not conclude with punctuation, and
3. Should not end a sentence and begin a new one
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Error messages should be sentence fragments, and therefore:

1. Should not begin with a capital letter,
2. Should not conclude with punctuation, and
3. Should not end a sentence and begin a new one
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix off-by-one problems in git_signature__parse</title>
<updated>2016-12-17T16:40:49+00:00</updated>
<author>
<name>Andreas Henriksson</name>
<email>andreas@fatal.se</email>
</author>
<published>2016-12-17T16:33:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=23c9ff8632d8ae90d211601d3254ab7f4d35e853'/>
<id>23c9ff8632d8ae90d211601d3254ab7f4d35e853</id>
<content type='text'>
Etc/GMT-14 aka UTC+14:00 is a thing....
https://en.wikipedia.org/wiki/UTC%2B14:00

Also allow offsets on the last minute (59).

Addresses: https://bugs.debian.org/841532
Fixes: #3970
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Etc/GMT-14 aka UTC+14:00 is a thing....
https://en.wikipedia.org/wiki/UTC%2B14:00

Also allow offsets on the last minute (59).

Addresses: https://bugs.debian.org/841532
Fixes: #3970
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce `git_signature_from_buffer`</title>
<updated>2016-04-28T16:47:14+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@github.com</email>
</author>
<published>2016-04-28T16:47:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=d383c39b3bc9a2bd5e68882db9a12e64ccd262a4'/>
<id>d383c39b3bc9a2bd5e68882db9a12e64ccd262a4</id>
<content type='text'>
Allow users to construct a signature from the type of signature
lines that actually appear in commits.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allow users to construct a signature from the type of signature
lines that actually appear in commits.
</pre>
</div>
</content>
</entry>
<entry>
<title>signature: use GITERR_CHECK_ALLOC to check for OOM situation</title>
<updated>2016-02-18T19:50:33+00:00</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2016-02-15T10:30:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=038d7af08595eabaa3d23da4703f25f4517af365'/>
<id>038d7af08595eabaa3d23da4703f25f4517af365</id>
<content type='text'>
When checking for out of memory situations we usually use the
GITERR_CHECK_ALLOC macro. Besides conforming to our current code
base it adds the benefit of silencing errors in Coverity due to
Coverity handling the macro's error path as abort.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When checking for out of memory situations we usually use the
GITERR_CHECK_ALLOC macro. Besides conforming to our current code
base it adds the benefit of silencing errors in Coverity due to
Coverity handling the macro's error path as abort.
</pre>
</div>
</content>
</entry>
<entry>
<title>signature: Strip crud just like Git does</title>
<updated>2015-10-21T09:58:44+00:00</updated>
<author>
<name>Vicent Marti</name>
<email>tanoku@gmail.com</email>
</author>
<published>2015-10-21T09:58:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=307c4a2b6d1e3b403225b3d5b7f9894b940b24bd'/>
<id>307c4a2b6d1e3b403225b3d5b7f9894b940b24bd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce git_rebase_commit</title>
<updated>2014-10-27T02:59:19+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2014-07-17T22:25:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=a35a9890b00b538cd0f3ef94a526c0dd2ec461bf'/>
<id>a35a9890b00b538cd0f3ef94a526c0dd2ec461bf</id>
<content type='text'>
Commit the current patch of a rebase process.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit the current patch of a rebase process.
</pre>
</div>
</content>
</entry>
<entry>
<title>signature: add a dup function which takes a pool</title>
<updated>2014-09-30T13:44:32+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-06-28T05:29:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=bdeb8772fe846eeeea92cb2d9adb85315f3b8417'/>
<id>bdeb8772fe846eeeea92cb2d9adb85315f3b8417</id>
<content type='text'>
This will be used by the transaction code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will be used by the transaction code.
</pre>
</div>
</content>
</entry>
<entry>
<title>signature: don't allow empty emails</title>
<updated>2014-09-10T16:14:46+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2014-09-10T16:13:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=76e3c43fb99eb75cf33affb1a93260af4d472da5'/>
<id>76e3c43fb99eb75cf33affb1a93260af4d472da5</id>
<content type='text'>
A signature is made up of a non-empty name and a non-empty email so
let's validate that. This also brings us more in line with git, which
also rejects ident with an empty email.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A signature is made up of a non-empty name and a non-empty email so
let's validate that. This also brings us more in line with git, which
also rejects ident with an empty email.
</pre>
</div>
</content>
</entry>
</feed>
