<feed xmlns='http://www.w3.org/2005/Atom'>
<title>musl/src/stdio, branch v0.9.13</title>
<subtitle>musl - an implementation of the standard library for Linux-based systems</subtitle>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/'/>
<entry>
<title>protect against long double type mismatches (mainly powerpc for now)</title>
<updated>2013-08-02T23:34:22+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2013-08-02T23:34:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=86cc54b577f445da1582d2cf1ac3eff064ca27ef'/>
<id>86cc54b577f445da1582d2cf1ac3eff064ca27ef</id>
<content type='text'>
check in configure to be polite (failing early if we're going to fail)
and in vfprintf.c since that is the point at which a mismatching type
would be extremely dangerous.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
check in configure to be polite (failing early if we're going to fail)
and in vfprintf.c since that is the point at which a mismatching type
would be extremely dangerous.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix uninitialized/stale use of alloc (%m modifier) flag in scanf</title>
<updated>2013-07-20T04:21:11+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2013-07-20T04:21:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=1d92cddb1e1ed4b6cc0e55461727561e7a2522e0'/>
<id>1d92cddb1e1ed4b6cc0e55461727561e7a2522e0</id>
<content type='text'>
for conversion specifiers, alloc is always set when the specifier is
parsed. however, if scanf stops due to mismatching literal text,
either an uninitialized (if no conversions have been performed yet) or
stale (from the previous conversion) of the flag will be used,
possibly causing an invalid pointer to be passed to free when the
function returns.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
for conversion specifiers, alloc is always set when the specifier is
parsed. however, if scanf stops due to mismatching literal text,
either an uninitialized (if no conversions have been performed yet) or
stale (from the previous conversion) of the flag will be used,
possibly causing an invalid pointer to be passed to free when the
function returns.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix scanf %c conversion wrongly storing a terminating null byte</title>
<updated>2013-06-22T21:23:45+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2013-06-22T21:23:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=ef5507867b59d19f21437970e87b5d0415c07b2e'/>
<id>ef5507867b59d19f21437970e87b5d0415c07b2e</id>
<content type='text'>
this seems to have been a regression from the refactoring which added
the 'm' modifier.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this seems to have been a regression from the refactoring which added
the 'm' modifier.
</pre>
</div>
</content>
</entry>
<entry>
<title>implement 'm' modifier for wide scanf variants</title>
<updated>2013-06-06T04:26:17+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2013-06-06T04:26:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=e039db27c2b4298470861c57535eb91a3eb3b1a6'/>
<id>e039db27c2b4298470861c57535eb91a3eb3b1a6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>implement the 'm' (malloc) modifier for scanf</title>
<updated>2013-06-05T22:18:41+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2013-06-05T22:18:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=16a1e0365d83c387d0dddd3c127ac7c8dcdf17fc'/>
<id>16a1e0365d83c387d0dddd3c127ac7c8dcdf17fc</id>
<content type='text'>
this commit only covers the byte-based scanf-family functions. the
wide functions still lack support for the 'm' modifier.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this commit only covers the byte-based scanf-family functions. the
wide functions still lack support for the 'm' modifier.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor wide-char scanf string handling</title>
<updated>2013-06-05T20:53:26+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2013-06-05T20:53:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=de80ea9f1c2821cbb4205533b86d5d17f9e8d376'/>
<id>de80ea9f1c2821cbb4205533b86d5d17f9e8d376</id>
<content type='text'>
this brings the wide version of the code into alignment with the
byte-based version, in preparation for adding support for the m
(malloc) modifier.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this brings the wide version of the code into alignment with the
byte-based version, in preparation for adding support for the m
(malloc) modifier.
</pre>
</div>
</content>
</entry>
<entry>
<title>simplify some logic in scanf and remove redundant invalid-format check</title>
<updated>2013-06-04T20:22:02+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2013-06-04T20:22:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=1ab59de81e94e7802f85d314a709f8350a0e9b65'/>
<id>1ab59de81e94e7802f85d314a709f8350a0e9b65</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor scanf core to use common code path for all string formats</title>
<updated>2013-06-04T20:09:36+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2013-06-04T20:09:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=f18846dd3a048598676e10b2a7b9f931bb3d1d6a'/>
<id>f18846dd3a048598676e10b2a7b9f931bb3d1d6a</id>
<content type='text'>
the concept here is that %s and %c are essentially special-cases of
%[, with some minimal additional special-casing.

aside from simplifying the code and reducing the number of complex
code-paths that would need changing to make optimizations later, the
main purpose of this change is to simplify addition of the 'm'
modifier which causes scanf to allocate storage for the string being
read.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the concept here is that %s and %c are essentially special-cases of
%[, with some minimal additional special-casing.

aside from simplifying the code and reducing the number of complex
code-paths that would need changing to make optimizations later, the
main purpose of this change is to simplify addition of the 'm'
modifier which causes scanf to allocate storage for the string being
read.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix argument omission in ABI-compat weak_alias for fscanf</title>
<updated>2013-04-06T21:15:58+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2013-04-06T21:15:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=5c5ac810c31a77dd17b95bb93e13487a3c1c1433'/>
<id>5c5ac810c31a77dd17b95bb93e13487a3c1c1433</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add ABI compatability aliases.</title>
<updated>2013-04-06T06:20:28+00:00</updated>
<author>
<name>Isaac Dunham</name>
<email>idunham@lavabit.com</email>
</author>
<published>2013-04-06T06:20:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=14f0272ea1775c35801b2bc17e67ef8bb7e9742d'/>
<id>14f0272ea1775c35801b2bc17e67ef8bb7e9742d</id>
<content type='text'>
GNU used several extensions that were incompatible with C99 and POSIX,
so they used alternate names for the standard functions.

The result is that we need these to run standards-conformant programs
that were linked with glibc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
GNU used several extensions that were incompatible with C99 and POSIX,
so they used alternate names for the standard functions.

The result is that we need these to run standards-conformant programs
that were linked with glibc.
</pre>
</div>
</content>
</entry>
</feed>
