<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/source3/lib/srprs.c, branch talloc-2.1.13</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/'/>
<entry>
<title>s3:lib: fix/simplify srprs_hex()</title>
<updated>2014-11-25T06:25:44+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2014-11-13T07:50:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=da0ee7d866bf9713f80c074a509156bd1d8cf86f'/>
<id>da0ee7d866bf9713f80c074a509156bd1d8cf86f</id>
<content type='text'>
There're a few problems with this function.

- it pretends to support values up to UINT64_MAX
  in it only returns 'unsigned' which support only
  values up to UINT32_MAX. Currently we only have
  callers with len=2 and len=8, so it's not a triggered
  bug.

  We just allow (len &gt;= 1 &amp;&amp; len &lt;= 8) now.

- The compiler is not able to inspect the format string
  to sscanf().

  We copy up to 8 bytes into a stack buffer
  and always pass "%8x" to sscanf.

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There're a few problems with this function.

- it pretends to support values up to UINT64_MAX
  in it only returns 'unsigned' which support only
  values up to UINT32_MAX. Currently we only have
  callers with len=2 and len=8, so it's not a triggered
  bug.

  We just allow (len &gt;= 1 &amp;&amp; len &lt;= 8) now.

- The compiler is not able to inspect the format string
  to sscanf().

  We copy up to 8 bytes into a stack buffer
  and always pass "%8x" to sscanf.

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s3:lib: use includes.h with cbuf and srprs</title>
<updated>2012-09-07T21:39:45+00:00</updated>
<author>
<name>Gregor Beck</name>
<email>gbeck@sernet.de</email>
</author>
<published>2012-09-06T09:52:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=0f284beb67680a152a86e0bec70808ee40e471dc'/>
<id>0f284beb67680a152a86e0bec70808ee40e471dc</id>
<content type='text'>
hopefully fixes build on hpux

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
hopefully fixes build on hpux

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s3: add function srprs_quoted to parse strings written with cbuf_print_quoted</title>
<updated>2011-04-04T13:57:36+00:00</updated>
<author>
<name>Gregor Beck</name>
<email>gbeck@sernet.de</email>
</author>
<published>2011-03-17T09:22:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=8fc8c880074d01af5a2d92fbd9b2fb042bdd59f3'/>
<id>8fc8c880074d01af5a2d92fbd9b2fb042bdd59f3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>s3-lib: add srprs, primitives to build simple recursive parsers</title>
<updated>2010-09-22T04:29:59+00:00</updated>
<author>
<name>Gregor Beck</name>
<email>gbeck@sernet.de</email>
</author>
<published>2010-09-20T12:37:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=f76049422899dc19abe597d990e6ca9ec391c962'/>
<id>f76049422899dc19abe597d990e6ca9ec391c962</id>
<content type='text'>
Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
