summaryrefslogtreecommitdiff
path: root/libjava/java/sql/SQLWarning.h
diff options
context:
space:
mode:
authorJerry DeLisle <jvdelisle@gcc.gnu.org>2015-11-07 18:13:17 +0000
committerJerry DeLisle <jvdelisle@gcc.gnu.org>2015-11-07 18:13:17 +0000
commitc6e74afc2a7aad8b34ed28bf4f295ee53cc7b7df (patch)
tree7d2af685ff824b8b17efb90528f524e824e7aafc /libjava/java/sql/SQLWarning.h
parent13eca6e571007daceabbee5dad5f8b39287c2402 (diff)
backport: re PR fortran/65089 (FAIL: gfortran.dg/io_real_boz(2|_[45]).f90 when tested with -fsanitize=address)
2015-11-07 Jerry DeLisle <jvdelisle@gcc.gnu.org> Backport from trunk PR libgfortran/65089 * io/format.h (free_format): New function to free memory allocated for building format error messages. * io/format.c (format_error): Add checks before freeing memory to avoid potential segfaults and free formatting data when needed on error conditions. Always allocate and NULL terminate the string. * io/transfer.c (st_read_done, st_write_done): Use new free_format function to clean up memory allocations when done. From-SVN: r229935
Diffstat (limited to 'libjava/java/sql/SQLWarning.h')
0 files changed, 0 insertions, 0 deletions