Loading drivers/platform/msm/ipa/ipa_hdr.c +2 −2 Original line number Diff line number Diff line /* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. /* Copyright (c) 2012-2015, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -577,7 +577,7 @@ static int __ipa_add_hdr(struct ipa_hdr_add *hdr) int id; int mem_size; if (hdr->hdr_len == 0) { if (hdr->hdr_len == 0 || hdr->hdr_len > IPA_HDR_MAX_SIZE) { IPAERR("bad parm\n"); goto error; } Loading Loading
drivers/platform/msm/ipa/ipa_hdr.c +2 −2 Original line number Diff line number Diff line /* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. /* Copyright (c) 2012-2015, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -577,7 +577,7 @@ static int __ipa_add_hdr(struct ipa_hdr_add *hdr) int id; int mem_size; if (hdr->hdr_len == 0) { if (hdr->hdr_len == 0 || hdr->hdr_len > IPA_HDR_MAX_SIZE) { IPAERR("bad parm\n"); goto error; } Loading