summaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'src/map/query/map_update.erl')
-rw-r--r-- | src/map/query/map_update.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/query/map_update.erl b/src/map/query/map_update.erl index 4c38ddf..a4e4038 100644 --- a/src/map/query/map_update.erl +++ b/src/map/query/map_update.erl @@ -47,7 +47,7 @@ parse_input (Req) -> MapHeight = maps:get(<<"h">>, JSONReqMap), MapContent = maps:get(<<"t">>, JSONReqMap), - %% TODO: those checks should be done while queries are locked. + %% TODO [LOW]: those checks should be done while queries are locked. true = (MapWidth > 0), true = (MapHeight > 0), true = (length(MapContent) == (MapWidth * MapHeight)), @@ -64,7 +64,8 @@ parse_input (Req) -> lists:all ( fun (Bo) -> - %% FIXME: this does not prevent "Error" tiles. + %% FIXME [SECURITY][LOW]: this does not prevent "Error" + %% tiles. (Bo >= 0) end, B |