search for: do_writechar

Displaying 2 results from an estimated 2 matches for "do_writechar".

2003 Nov 14
2
writeChar potential buffer overrun (PR#5090)
...;ve had repeatable seg faults. The call: writeChar(hdr, outfh, nchars=6144) when hdr just contains one empty string seems to be the culprit. The stack traces weren't all that illuminating, with sig 11 in memory-related functions following this. But in src/main/connections.c it looks like do_writechar doesn't check the length of strings when given an explicit nchars argument; so I think the strncpy() call will read too far. [This happened because I didn't remember that R lets null terminate strings; so I did a readChar(infh, nchars=6144) through some nulls at the start of the header, an...
2006 May 02
1
compile R on Solaris 9
...ns.c:2692: structure has no member named `open64' connections.c: In function `do_writebin': connections.c:2895: structure has no member named `open64' connections.c: In function `do_readchar': connections.c:3140: structure has no member named `open64' connections.c: In function `do_writechar': connections.c:3212: structure has no member named `open64' connections.c: In function `switch_or_tee_stdout': connections.c:3390: structure has no member named `open64' connections.c: In function `do_url': connections.c:3622: structure has no member named `open64' connecti...