lkml.org 
[lkml]   [2017]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH] KEYS: fix dereferencing NULL payload with nonzero length
    Date
    Eric Biggers <ebiggers3@gmail.com> wrote:

    > - if (_payload) {
    > + if (plen) {

    "if (_payload && plen)" would be better.

    David

    \
     
     \ /
      Last update: 2017-04-03 17:49    [W:4.238 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site