<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/tools/usb/usbip/libsrc/usbip_common.c, branch linux-4.12.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.12.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.12.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-03-17T04:16:56Z</updated>
<entry>
<title>usbip: Fix potential format overflow in userspace tools</title>
<updated>2017-03-17T04:16:56Z</updated>
<author>
<name>Jonathan Dieter</name>
</author>
<published>2017-02-27T08:31:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e5dfa3f902b9a642ae8c6997d57d7c41e384a90b'/>
<id>urn:sha1:e5dfa3f902b9a642ae8c6997d57d7c41e384a90b</id>
<content type='text'>
The usbip userspace tools call sprintf()/snprintf() and don't check for
the return value which can lead the paths to overflow, truncating the
final file in the path.

More urgently, GCC 7 now warns that these aren't checked with
-Wformat-overflow, and with -Werror enabled in configure.ac, that makes
these tools unbuildable.

This patch fixes these problems by replacing sprintf() with snprintf() in
one place and adding checks for the return value of snprintf().

Reviewed-by: Peter Senna Tschudin &lt;peter.senna@gmail.com&gt;
Signed-off-by: Jonathan Dieter &lt;jdieter@lesbg.com&gt;
Acked-by: Shuah Khan &lt;shuahkh@osg.samsung.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usbip: move usbip userspace code out of staging</title>
<updated>2014-08-25T17:38:56Z</updated>
<author>
<name>Valentina Manea</name>
</author>
<published>2014-08-20T04:30:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=588b48caf65c4a92af567948ec0025065e749ddf'/>
<id>urn:sha1:588b48caf65c4a92af567948ec0025065e749ddf</id>
<content type='text'>
At this point, USB/IP userspace code is fully functional
and can be moved out of staging.

Signed-off-by: Valentina Manea &lt;valentina.manea.m@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
