From b3c0b7b51f55767ea66b230f8c8396ec54818bdd Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Tue, 12 Mar 2013 09:24:55 -0700 Subject: [PATCH] Mark a critical FIXME. --- src/cpp/ripple/RPCHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp/ripple/RPCHandler.cpp b/src/cpp/ripple/RPCHandler.cpp index 870423541..89556c157 100644 --- a/src/cpp/ripple/RPCHandler.cpp +++ b/src/cpp/ripple/RPCHandler.cpp @@ -2751,7 +2751,7 @@ Json::Value RPCHandler::doSubscribe(Json::Value jvRequest, int& cost) } if (jvRequest.isMember("books")) - { + { // FIXME: This can crash the server if the parameters to things like getBookPage are invalid for (Json::Value::iterator it = jvRequest["books"].begin(); it != jvRequest["books"].end(); it++) { uint160 currencyOut;