Leave TODO to define a max after which to stop reading
[khatus.git] / x5 / khatus.c
index ccfce96..0580430 100644 (file)
@@ -391,6 +391,11 @@ fifo_read_one(Fifo *f, struct timespec t, char *buf)
                                if (f->pos_curr <= f->pos_final)
                                        buf[f->pos_curr++] = c;
                                /* Drop beyond available range. */
+                               /*
+                                * TODO Define max after which we stop reading.
+                                *      To ensure that a rogue large message
+                                *      doesn't trap us here.
+                                */
                        }
                        break;
                default:
This page took 0.019278 seconds and 4 git commands to generate.