<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/cmdline/apt-cache.cc, branch 1.0.9.5</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=1.0.9.5</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=1.0.9.5'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2014-09-02T15:25:35Z</updated>
<entry>
<title>Use heap to allocate PatternMatch to avoid potential stack overflow</title>
<updated>2014-09-02T15:25:35Z</updated>
<author>
<name>Michael Vogt</name>
<email>mvo@ubuntu.com</email>
</author>
<published>2014-09-02T15:06:52Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=097248092ea4ff4543dfb17deb4e0d31dd697c71'/>
<id>urn:sha1:097248092ea4ff4543dfb17deb4e0d31dd697c71</id>
<content type='text'>
When apt-cache search with many args (&gt; 130) is given the allocation
of PatternMatch on the stack may fail resulting in a segmentation
fault. By using the heap the max size is much bigger and we also
get a bad_alloc expection instead of a segfault (which we can catch
*if* this ever becomes a pratical problem). No test for the crash
as its not reproducable with the MALLOC_ settings in framework.

Closes: 759612
</content>
</entry>
<entry>
<title>support Acquire::GzipIndexes in dumpavail</title>
<updated>2014-06-10T12:12:12Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-06-10T12:12:12Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=4dde2b4285fc6288e44e915a0d7bc0faac114a2e'/>
<id>urn:sha1:4dde2b4285fc6288e44e915a0d7bc0faac114a2e</id>
<content type='text'>
Closes: 742835
</content>
</entry>
<entry>
<title>follow method attribute suggestions by gcc</title>
<updated>2014-03-13T12:58:45Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-03-05T23:33:10Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=a02db58fd50ef7fc2f0284852c6b3f98e458a232'/>
<id>urn:sha1:a02db58fd50ef7fc2f0284852c6b3f98e458a232</id>
<content type='text'>
Git-Dch: Ignore
Reported-By: gcc -Wsuggest-attribute={pure,const,noreturn}
</content>
</entry>
<entry>
<title>cleanup headers and especially #includes everywhere</title>
<updated>2014-03-13T12:58:45Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-03-05T21:11:25Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=453b82a388013e522b3a1b9fcd6ed0810dab1f4f'/>
<id>urn:sha1:453b82a388013e522b3a1b9fcd6ed0810dab1f4f</id>
<content type='text'>
Beside being a bit cleaner it hopefully also resolves oddball problems
I have with high levels of parallel jobs.

Git-Dch: Ignore
Reported-By: iwyu (include-what-you-use)
</content>
</entry>
<entry>
<title>warning: unused parameter ‘foo’ [-Wunused-parameter]</title>
<updated>2014-03-13T12:58:45Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-03-01T14:11:42Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=655122418d714f342b5d9789f45f8035f3fe8b9a'/>
<id>urn:sha1:655122418d714f342b5d9789f45f8035f3fe8b9a</id>
<content type='text'>
Reported-By: gcc -Wunused-parameter
Git-Dch: Ignore
</content>
</entry>
<entry>
<title>warning: no previous declaration for foobar() [-Wmissing-declarations]</title>
<updated>2014-03-13T12:58:45Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-02-27T02:11:54Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=c3ccac9232c2684b15f75fa8622a9a290aeca123'/>
<id>urn:sha1:c3ccac9232c2684b15f75fa8622a9a290aeca123</id>
<content type='text'>
Git-Dch: Ignore
Reported-By: gcc -Wmissing-declarations
</content>
</entry>
<entry>
<title>fix -Wmissing-field-initializers warnings</title>
<updated>2014-03-13T12:58:45Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-02-25T21:22:41Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=67c3067f1a615fd6ff0b332c2a526d052442913d'/>
<id>urn:sha1:67c3067f1a615fd6ff0b332c2a526d052442913d</id>
<content type='text'>
Reported-By: gcc
Git-Dch: Ignore
</content>
</entry>
<entry>
<title>squash merge of the feature/apt-binary branch without the changes from experimental</title>
<updated>2013-08-12T21:24:08Z</updated>
<author>
<name>Michael Vogt</name>
<email>mvo@debian.org</email>
</author>
<published>2013-08-12T21:24:08Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=b917917067e757c4479a344a263ef7cf43c00866'/>
<id>urn:sha1:b917917067e757c4479a344a263ef7cf43c00866</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use FileFd::Write instead of fwrite for errors</title>
<updated>2013-07-26T09:42:02Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2013-07-26T09:42:02Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=d832304e06838275446a0b787899591061f39160'/>
<id>urn:sha1:d832304e06838275446a0b787899591061f39160</id>
<content type='text'>
Using the static FileFd::Write method gives us error messages for free
so we use it here to avoid failing silently (with a fail silent error).

Git-Dch: Ignore
</content>
</entry>
<entry>
<title>fix 'apt-cache search' crash with missing description</title>
<updated>2013-07-18T19:30:47Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2013-07-18T17:22:29Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=922f07986b93ce7866f89917e3a475e6a4b3941c'/>
<id>urn:sha1:922f07986b93ce7866f89917e3a475e6a4b3941c</id>
<content type='text'>
Beside the earlier fixed 'apt-cache show', 'showpkg' and 'search' deal
with descriptions. 'showpkg' was fixed by fixing the cache generation
for 'show', but 'search' still segfaulted.

On the upside, it doesn't segfault any longer, on the downside, if a
package has no description at all (aka: not in the Packages file and not
in a Translation-* file) the package can't be found with 'search', even
if we search only by name. That is a shortcoming in the code, but fixing
it means rewriting it completely for dubious gain at best.

So this commit just skips packages without a description and is done.

Closes: 647590
</content>
</entry>
</feed>
