crash in http_server on malformed json

master
Max 1 year ago
parent 65b5c318b0
commit e080f32fc6
  1. 1
      op25/gr-op25_repeater/apps/http_server.py

@ -219,6 +219,7 @@ def do_request(d):
def post_req(environ, start_response, postdata):
global my_input_q, my_output_q, my_recv_q, my_port
resp_msg = []
data = []
try:
data = json.loads(postdata)
except:

Loading…
Cancel
Save