<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/patch.git/NEWS, branch testing</title>
<subtitle>git.savannah.gnu.org: git/patch.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/'/>
<entry>
<title>Upate NEWS</title>
<updated>2015-03-05T22:19:22+00:00</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruen@gnu.org</email>
</author>
<published>2015-03-05T22:19:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=d576eff1dfa23fbb535f72dbb7348df0e44665ac'/>
<id>d576eff1dfa23fbb535f72dbb7348df0e44665ac</id>
<content type='text'>
* NEWS: Update.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* NEWS: Update.
</pre>
</div>
</content>
</entry>
<entry>
<title>Upate NEWS</title>
<updated>2015-01-31T21:14:01+00:00</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruen@gnu.org</email>
</author>
<published>2015-01-31T02:51:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=de89dde09e25b610857076af375f291fedd9bb70'/>
<id>de89dde09e25b610857076af375f291fedd9bb70</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the fix for CVE-2015-1196</title>
<updated>2015-01-22T20:51:51+00:00</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruen@gnu.org</email>
</author>
<published>2015-01-21T09:01:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=41688ad8ef88bc296f3bed30b171ec73e5876b88'/>
<id>41688ad8ef88bc296f3bed30b171ec73e5876b88</id>
<content type='text'>
* src/util.c (filename_is_safe): New function split off from name_is_valid().
(symlink_target_is_valid): Explain why we cannot have absolute symlinks or
symlinks with ".." components for now.
(move_file): Move absolute filename check here and explain.
* tests/symlinks: Put test case with ".." symlink in comments for now.
* NEWS: Add CVE number.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/util.c (filename_is_safe): New function split off from name_is_valid().
(symlink_target_is_valid): Explain why we cannot have absolute symlinks or
symlinks with ".." components for now.
(move_file): Move absolute filename check here and explain.
* tests/symlinks: Put test case with ".." symlink in comments for now.
* NEWS: Add CVE number.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make sure symlinks don't point outside working directory (CVE-2015-119)</title>
<updated>2015-01-19T22:18:30+00:00</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>andreas.gruenbacher@gmail.com</email>
</author>
<published>2015-01-19T22:18:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=4e9269a5fc1fe80a1095a92593dd85db871e1fd3'/>
<id>4e9269a5fc1fe80a1095a92593dd85db871e1fd3</id>
<content type='text'>
When creating symlinks from git-style patches, make sure the symlinks don't
point above the current working directory.  Otherwise, a subsequent patch could
use the symlink to write outside the working directory.

* src/pch.c (symlink_target_is_valid): New function to check for valid symlink
targets.
* src/util.c (move_file): Use symlink_target_is_valid() here.
* tests/symlinks: Add valid and invalid symlink test cases.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When creating symlinks from git-style patches, make sure the symlinks don't
point above the current working directory.  Otherwise, a subsequent patch could
use the symlink to write outside the working directory.

* src/pch.c (symlink_target_is_valid): New function to check for valid symlink
targets.
* src/util.c (move_file): Use symlink_target_is_valid() here.
* tests/symlinks: Add valid and invalid symlink test cases.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve error message when refusing to delete file</title>
<updated>2014-08-12T23:16:44+00:00</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruen@linbit.com</email>
</author>
<published>2014-08-12T23:13:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=f926295f4fdfb2777bbd4bfa51441fd5a4f0a9b0'/>
<id>f926295f4fdfb2777bbd4bfa51441fd5a4f0a9b0</id>
<content type='text'>
* src/patch.c: Improve error message.
* tests/create-delete: Update the test case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/patch.c: Improve error message.
* tests/create-delete: Update the test case.
</pre>
</div>
</content>
</entry>
<entry>
<title>Preserve function names in reject files</title>
<updated>2013-08-19T20:44:46+00:00</updated>
<author>
<name>Steven Rostedt</name>
<email>rostedt@goodmis.org</email>
</author>
<published>2013-08-19T20:35:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=a2f4bfe0f3f54181a8f1077cde9ebef0b4f891c0'/>
<id>a2f4bfe0f3f54181a8f1077cde9ebef0b4f891c0</id>
<content type='text'>
* src/patch.c (main): Preserve function names in reject files.
* tests/reject-format: Update the test case.
Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
Signed-off-by: Andreas Gruenbacher &lt;agruen@linbit.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/patch.c (main): Preserve function names in reject files.
* tests/reject-format: Update the test case.
Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
Signed-off-by: Andreas Gruenbacher &lt;agruen@linbit.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Version 2.7.1</title>
<updated>2012-09-28T16:39:33+00:00</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruen@linbit.com</email>
</author>
<published>2012-09-28T16:38:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=bbb840edca64d55de2972fd64c2a097fa3adba41'/>
<id>bbb840edca64d55de2972fd64c2a097fa3adba41</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Trailing whitespace fix</title>
<updated>2012-09-28T10:43:42+00:00</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruen@linbit.com</email>
</author>
<published>2012-09-28T10:43:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=c9de555284638a522d8035b8d845c35f213fc966'/>
<id>c9de555284638a522d8035b8d845c35f213fc966</id>
<content type='text'>
* NEWS: Trailing whitespace fix.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* NEWS: Trailing whitespace fix.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve the previous commit</title>
<updated>2012-09-25T23:33:22+00:00</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruen@linbit.com</email>
</author>
<published>2012-09-25T23:33:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=e8bfce654715e443830069b9dfa73e7300de0392'/>
<id>e8bfce654715e443830069b9dfa73e7300de0392</id>
<content type='text'>
* src/patch.c: Only print the "file is not empty after patch" message when
trying to delete the output file.  Say that we were trying to delete the file.
* tests/create-delete: Fix the expected messages.  Add test cases for the
--remove-empty-files and --posix options.
* NEWS: Better describe this change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/patch.c: Only print the "file is not empty after patch" message when
trying to delete the output file.  Say that we were trying to delete the file.
* tests/create-delete: Fix the expected messages.  Add test cases for the
--remove-empty-files and --posix options.
* NEWS: Better describe this change.
</pre>
</div>
</content>
</entry>
<entry>
<title>Only expect files to become empty if the patch says so</title>
<updated>2012-09-25T02:07:53+00:00</updated>
<author>
<name>Andreas Gruenbacher</name>
<email>agruen@linbit.com</email>
</author>
<published>2012-09-25T00:56:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/patch.git/commit/?id=1d9ed51e9c812d49affc2f9b3cd985257f6a525b'/>
<id>1d9ed51e9c812d49affc2f9b3cd985257f6a525b</id>
<content type='text'>
Test cases based on patches from Dmitry V. Levin &lt;ldv@altlinux.org&gt;.
* src/patch.c (main): Only expect files to become empty if the patch says so.
* NEWS: Document this change.
* tests/create-delete: Add (more) empty vs. non-empty test cases.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test cases based on patches from Dmitry V. Levin &lt;ldv@altlinux.org&gt;.
* src/patch.c (main): Only expect files to become empty if the patch says so.
* NEWS: Document this change.
* tests/create-delete: Add (more) empty vs. non-empty test cases.
</pre>
</div>
</content>
</entry>
</feed>
