Index: trunk/psLib/src/sys/psString.c
===================================================================
--- trunk/psLib/src/sys/psString.c	(revision 40551)
+++ trunk/psLib/src/sys/psString.c	(revision 41171)
@@ -107,4 +107,5 @@
 
     // Check the number of characters to copy is non-negative
+    // XXX need to limit nChar to < memtotal
     if (nChar < 0) {
         // Log error message and return NULL
