<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 3: overflow in printf</title><link href="https://sourceforge.net/p/webcamserver/bugs/3/" rel="alternate"/><link href="https://sourceforge.net/p/webcamserver/bugs/3/feed.atom" rel="self"/><id>https://sourceforge.net/p/webcamserver/bugs/3/</id><updated>2006-01-13T17:13:16Z</updated><subtitle>Recent changes to 3: overflow in printf</subtitle><entry><title>overflow in printf</title><link href="https://sourceforge.net/p/webcamserver/bugs/3/" rel="alternate"/><published>2006-01-13T17:13:16Z</published><updated>2006-01-13T17:13:16Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netfe77112a4efb57cf139fddc40f1a90520959f831</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;client.c line 361 is: &lt;br /&gt;
sprintf(logmsg, "%s disconnected, %d seconds, %ld &lt;br /&gt;
bytes, %.2f Kbytes/second, %ld frames, %.2f fps\n", &lt;/p&gt;
&lt;p&gt;and should be: &lt;br /&gt;
sprintf(logmsg, "%s disconnected, %d seconds, %lu &lt;br /&gt;
bytes, %.2f Kbytes/second, %ld frames, %.2f fps\n", &lt;/p&gt;
&lt;p&gt;or long connections result in a minus number in the &lt;br /&gt;
logs for bytes. &lt;/p&gt;
&lt;p&gt;I suspect seconds and frames should also be printed &lt;br /&gt;
as unsigned. &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>