1. 31 Mar, 2016 1 commit
  2. 29 Mar, 2016 18 commits
  3. 28 Mar, 2016 1 commit
  4. 23 Mar, 2016 5 commits
  5. 21 Mar, 2016 2 commits
  6. 20 Mar, 2016 1 commit
  7. 18 Mar, 2016 5 commits
    • Dridi Boukelmoune's avatar
      Check the return value of VSB_finish · 3a0c904e
      Dridi Boukelmoune authored
      Spotted by Coverity
      3a0c904e
    • Dag Haavi Finstad's avatar
      Postpone calling VBT_wait until after V1P_Process · 76777c8d
      Dag Haavi Finstad authored
      Fixes a bug where we wait for an event to fire on the backend socket
      prior to passing the request body.
      
      The VBT_Wait call is now handled in vbe_dir_finish.
      
      Test case by thomaslc
      
      Fixes: #1806
      76777c8d
    • Dridi Boukelmoune's avatar
      Revert "Kill one indentation" · 688a8376
      Dridi Boukelmoune authored
      This reverts commit eaac258d.
      
      The benefits in terms of readability are uncertain and YMMV, but
      compilers seem to find it harder to optimize too:
      
         cmpl   $0x0,-0x205c(%rbp)
         sete   %al
         movzbl %al,%eax
         or     %rax,%rdx
      
      Before the change it would translate to just:
      
         or     $0x1,%rax
         mov    %rax,%rdx
      
      Spotted by @fgsch
      688a8376
    • Dridi Boukelmoune's avatar
      Use the TAKE_OBJ_NOTNULL macro where relevant · e6755a5d
      Dridi Boukelmoune authored
      This patch was created using Coccinelle and the following steps:
      
         $ cat >take.cocci <<EOF
         @@
         expression t, f;
         constant m;
         @@
      
         - AN(f);
         - t = *f;
         - *f = NULL;
         - CHECK_OBJ_NOTNULL(t, m);
         + TAKE_OBJ_NOTNULL(t, f, m);
         EOF
         $ spatch --sp-file take.cocci --dir . --in-place
      e6755a5d
    • Dridi Boukelmoune's avatar
      Add a miniobj macro for taking over pointer · 4a655c0a
      Dridi Boukelmoune authored
      There's a recurring pattern throughout the code base of taking over
      a reference (by nulling the original) essentially when resources are
      freed. Instead of repeating this anti dangling pointers measure, it
      can be wrapped in a documenting utility macro.
      4a655c0a
  8. 16 Mar, 2016 4 commits
  9. 14 Mar, 2016 3 commits