[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question about your new upload of libg++



Another datapoint.  This

  #include <stdio.h>

  int
  main(int argc, char ** argv) {
    char foo[80] = "<uninitialized>\n";
    sprintf(foo, "test\n"); 
  }

segfaults here on three machines if compiled with

  g++ -g -o dummy -D_REENTRANT -lpthread dummy.c

but not if compiled with

  gcc -g -o dummy -D_REENTRANT -lpthread dummy.c

(Wouldn't you know we have visitors tomorrow...)

-- 
Rob Browning <rlb@cs.utexas.edu>
PGP fingerprint = E8 0E 0D 04 F5 21 A0 94  53 2B 97 F5 D6 4E 39 30


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: