Revision: 56319
          http://sourceforge.net/p/brlcad/code/56319
Author:   brlcad
Date:     2013-07-30 05:32:39 +0000 (Tue, 30 Jul 2013)
Log Message:
-----------
this is a brand new library.  we can't get off the ground with fixed limits 
already getting introduced unnecssarily.

Modified Paths:
--------------
    brlcad/trunk/src/libicv/fileformat.c

Modified: brlcad/trunk/src/libicv/fileformat.c
===================================================================
--- brlcad/trunk/src/libicv/fileformat.c        2013-07-30 05:20:10 UTC (rev 
56318)
+++ brlcad/trunk/src/libicv/fileformat.c        2013-07-30 05:32:39 UTC (rev 
56319)
@@ -309,6 +309,8 @@
     unsigned char *data;
     int fd;
     size_t ret, size;
+
+    /* FIXME: should not be introducing fixed size buffers */
     char buf[BUFSIZ] = {0};
 
     if (bif->color_space == ICV_COLOR_SPACE_GRAY) {
@@ -441,6 +443,7 @@
 int
 icv_image_save(icv_image_t* bif, const char* filename, ICV_IMAGE_FORMAT format)
 {
+    /* FIXME: should not be introducing fixed size buffers */
     char buf[BUFSIZ] = {0};
 
     if (format == ICV_IMAGE_AUTO) {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to