Pastebin launched a little side project called HostCabi.net, check it out ;-)Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 10th, 2010  |  syntax: None  |  size: 0.22 KB  |  hits: 154  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. --- xli-1.17.0.orig/png.c
  2. +++ xli-1.17/png.c
  3. @@ -27,7 +27,7 @@
  4.         if (ret != 8)
  5.                 return 0;
  6.  
  7. -       ret = png_check_sig(buf, 8);
  8. +       ret = png_sig_cmp(buf, 0, 8) == 0;
  9.  
  10.         return (ret);
  11.  }