Mercurial > hg > octave-jordi > gnulib-hg
view doc/gendocs_template_min @ 18025:5201cc72e203
savedir: avoid undefined behavior in qsort call
GCC 5.1.1 -fsanitize=undefined with glibc 2.21 is returning:
"runtime error: null pointer passed as argument 1,
which is declared to never be null"
* lib/savedir.c (streamsavedir): Avoid the call with no entries.
author | Pádraig Brady <P@draigBrady.com> |
---|---|
date | Wed, 24 Jun 2015 19:08:08 +0100 |
parents | 466a7aa4ba59 |
children |
line wrap: on
line source
<?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>%%TITLE%% - GNU Project - Free Software Foundation</title> <meta http-equiv="content-type" content='text/html; charset=utf-8' /> <link rel="stylesheet" type="text/css" href="/gnu.css" /> </head> <body> <h3>%%TITLE%%</h3> <address>Free Software Foundation</address> <address>last updated %%DATE%%</address> <p> <a href="/graphics/gnu-head.jpg"> <img src="/graphics/gnu-head-sm.jpg" alt=" [image of the head of a GNU] " width="129" height="122"/> </a> </p> <hr /> <p>This manual (%%PACKAGE%%) is available in the following formats:</p> <ul> <li><a href="%%PACKAGE%%.html">HTML (%%HTML_MONO_SIZE%%K bytes)</a> - entirely on one web page.</li> <li><a href="html_node/index.html">HTML</a> - with one web page per node.</li> %%IF HTML_SECTION%% <li><a href="html_section/index.html">HTML</a> - with one web page per section.</li> %%ENDIF HTML_SECTION%% %%IF HTML_CHAPTER%% <li><a href="html_chapter/index.html">HTML</a> - with one web page per chapter.</li> %%ENDIF HTML_CHAPTER%% <li><a href="%%PACKAGE%%.html.gz">HTML compressed (%%HTML_MONO_GZ_SIZE%%K gzipped characters)</a> - entirely on one web page.</li> <li><a href="%%PACKAGE%%.html_node.tar.gz">HTML compressed (%%HTML_NODE_TGZ_SIZE%%K gzipped tar file)</a> - with one web page per node.</li> %%IF HTML_SECTION%% <li><a href="%%PACKAGE%%.html_section.tar.gz">HTML compressed (%%HTML_SECTION_TGZ_SIZE%%K gzipped tar file)</a> - with one web page per section.</li> %%ENDIF HTML_SECTION%% %%IF HTML_CHAPTER%% <li><a href="%%PACKAGE%%.html_chapter.tar.gz">HTML compressed (%%HTML_CHAPTER_TGZ_SIZE%%K gzipped tar file)</a> - with one web page per chapter.</li> %%ENDIF HTML_CHAPTER%% <li><a href="%%PACKAGE%%.info.tar.gz">Info document (%%INFO_TGZ_SIZE%%K bytes gzipped tar file)</a>.</li> <li><a href="%%PACKAGE%%.txt">ASCII text (%%ASCII_SIZE%%K bytes)</a>.</li> <li><a href="%%PACKAGE%%.txt.gz">ASCII text compressed (%%ASCII_GZ_SIZE%%K bytes gzipped)</a>.</li> <li><a href="%%PACKAGE%%.dvi.gz">TeX dvi file (%%DVI_GZ_SIZE%%K bytes gzipped)</a>.</li> <li><a href="%%PACKAGE%%.pdf">PDF file (%%PDF_SIZE%%K bytes)</a>.</li> <li><a href="%%PACKAGE%%.texi.tar.gz">Texinfo source (%%TEXI_TGZ_SIZE%%K bytes gzipped tar file).</a></li> </ul> <p>(This page generated by the <a href="%%SCRIPTURL%%">%%SCRIPTNAME%% script</a>.)</p> <div id="footer" class="copyright"> <p>Please send general FSF & GNU inquiries to <a href="mailto:gnu@gnu.org"><gnu@gnu.org></a>. There are also <a href="/contact/">other ways to contact</a> the FSF. Broken links and other corrections or suggestions can be sent to <a href="mailto:%%EMAIL%%"><%%EMAIL%%></a>.</p> </div> <p>Copyright © 2015 Free Software Foundation, Inc.</p> <p>This page is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nd/3.0/us/">Creative Commons Attribution-NoDerivs 3.0 United States License</a>.</p> <!--#include virtual="/server/bottom-notes.html" --> </div> </body> </html>