From: Eric Leblond Date: Wed, 23 Sep 2015 11:54:38 +0000 (+0200) Subject: smtp-layer: remove FIXME and del excessive newline X-Git-Tag: suricata-3.0RC1~86 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38750f1313ba4cbda20fb84adf99fe618ecab2fc;p=thirdparty%2Fsuricata.git smtp-layer: remove FIXME and del excessive newline --- diff --git a/src/app-layer-smtp.c b/src/app-layer-smtp.c index 0731442ac4..a7f54d6f09 100644 --- a/src/app-layer-smtp.c +++ b/src/app-layer-smtp.c @@ -985,7 +985,6 @@ static int SMTPParseCommandWithParam(SMTPState *state, uint8_t prefix_len, uint8 spc_i++; } - /* FIXME check arithmetic */ *target = SCMalloc(spc_i - i + 1); if (*target == NULL) return -1; @@ -994,7 +993,6 @@ static int SMTPParseCommandWithParam(SMTPState *state, uint8_t prefix_len, uint8 *target_len = spc_i - i; return 0; - } static int SMTPParseCommandHELO(SMTPState *state)