[llvm-commits] [llvm-gcc-4.2] r54327 - in /llvm-gcc-4.2/trunk/libcpp: ChangeLog.apple charset.c

Duncan Sands baldrick at free.fr
Wed Aug 6 13:43:15 PDT 2008


Hi Bill,

> Make sure we don't read before the buffer.

did you come to a conclusion about whether
  *st_size = to.len;
(a few lines later) is correct, or whether
it should be
  *st_size = to.len + 1;
(since an extra character was appended to
the buffer)?

Thanks,

Duncan.



More information about the llvm-commits mailing list