Skip to content
Snippets Groups Projects
  1. May 14, 2003
  2. Mar 10, 2003
  3. Oct 18, 2002
  4. Oct 12, 2002
  5. Aug 15, 2002
    • Bruce Momjian's avatar
      The attached patch changes most of the usages of sprintf() to · 66eb8df6
      Bruce Momjian authored
      snprintf() in contrib/. I didn't touch the places where pointer
      arithmatic was being used, or other areas where the fix wasn't
      trivial. I would think that few, if any, of the usages of sprintf()
      were actually exploitable, but it's probably better to be paranoid...
      
      Neil Conway
      66eb8df6
  6. Jul 05, 2002
  7. Jun 21, 2002
  8. Jun 13, 2002
  9. Jun 12, 2002
  10. Mar 05, 2002
    • Bruce Momjian's avatar
      Currently, contrib/oid2name doesn't bother to free() the memory that it · 66cd6a0f
      Bruce Momjian authored
      malloc()'s. This isn't too serious (because oid2name is a short-lived
      utility, so the memory will soon be returned to the OS on process
      termination), but I still think it's poor style.
      
      This patch changes oid2name so that it allocates memory on the stack
      where possible and free()s the remaining heap-allocated memory. The
      patch also fixes a typo a comment and adds 'const' qualifiers to a few
      'char *' function parameters.
      
      Neil Conway
      66cd6a0f
  11. Jan 25, 2002
  12. Jan 10, 2002
  13. Nov 15, 2001
  14. Oct 03, 2001
  15. Sep 06, 2001
  16. Jun 18, 2001
    • Bruce Momjian's avatar
      The attached patch enables the contrib subtree to build cleanly under · 558fae16
      Bruce Momjian authored
      Cygwin with the possible exception of mSQL-interface.  Since I don't
      have mSQL installed, I skipped this tool.
      
      Except for dealing with a missing getopt.h (oid2name) and HUGE (seg),
      the bulk of the patch uses the standard PostgreSQL approach to deal with
      Windows DLL issues.
      
      I tested the build aspect of this patch under Cygwin and Linux without
      any ill affects.  Note that I did not actually attempt to test the code
      for functionality.
      
      The procedure to apply the patch is as follows:
      
          $ # save the attachment as /tmp/contrib.patch
          $ # change directory to the top of the PostgreSQL source tree
          $ patch -p0 </tmp/contrib.patch
      
      Jason
      558fae16
  17. Mar 22, 2001
  18. Feb 20, 2001
  19. Feb 12, 2001
  20. Jan 24, 2001
Loading