GitHub PushEvent at 2014-06-02 18:25:10
Repository: neovim
Actor: aktau
Payload: {"shas":[["82727e2708e77f37555fdd826c3466c22a86150a","418d940643b1975d62234ee01246ad4b58904184@hillegeer.com","coverity/62615: fix leak in write_reg_contents_ex\n\nCoverity detected a memory leak caused by not free'ing the value returned by\nget_expr_line_src (basically vim_strsave(expr_line)). Replaced the copying\nwith direct manipulation of expr_line, since that also happens in other\nparts of the codebase.\n\nNOTE: I'm aware that this has different behaviour than vim_strnsave, namely\nvim_strnsave always allocates `len` bytes, even if the string is shorter. I\ndon't see how that behaviour is helpful here though.","Nicolas Hillegeer",true],["747e15bdb509707900508bc15b6c8670bbb0b34e","418d940643b1975d62234ee01246ad4b58904184@hillegeer.com","coverity/13770: add_keyword(), mark as false pos.\n\nAlso cleaned up the function a little bit.","Nicolas Hillegeer",true],["5b3e4fe47a387dffadc59e97eeb2c51edfce30a8","418d940643b1975d62234ee01246ad4b58904184@hillegeer.com","coverity/13685: silence NUL-termnation fp\n\nIt was a false positive, but it can't hurt to \"fix\" it.\n\nOriginal warning:\nCID 13685 (#1 of 1): Buffer not null terminated (BUFFER_SIZE)\n6. buffer_size: Calling strncpy with a source string whose length (4 chars)\nis greater than or equal to the size argument (4) will fail to\nnull-terminate b0p->b0_version.","Nicolas Hillegeer",true]],"size":3,"ref":"refs/heads/coverity-fix-resource-leaks-1","head":"5b3e4fe47a387dffadc59e97eeb2c51edfce30a8"}