"Kim B. Heino" <Kim.Heino@bluegiga.com> reports
"Kim B. Heino" <Kim.Heino@bluegiga.com> reports

	In the libc/stdlib/bsd_getpt.c file you have line:

	memcpy (buf, _PATH_PTY, sizeof (_PATH_PTY) - 1);

	It really should be:

	memcpy (buf, _PATH_PTY, sizeof (_PATH_PTY) );

	The last nul character must be copied too because the next line uses
	strlen() to get buf's length.

ffainelli/uClibc,waweber/uclibc-clang,skristiansson/uClibc-or1k,brgl/uclibc-ng,ffainelli/uClibc,mephi42/uClibc,ndmsystems/uClibc,gittup/uClibc,groundwater/uClibc,klee/klee-uclibc,m-labs/uclibc-lm32,skristiansson/uClibc-or1k,hjl-tools/uClibc,foss-xtensa/uClibc,hwoarang/uClibc,kraj/uClibc,groundwater/uClibc,ysat0/uClibc,foss-for-synopsys-dwc-arc-processors/uClibc,foss-for-synopsys-dwc-arc-processors/uClibc,mephi42/uClibc,kraj/uclibc-ng,ddcc/klee-uclibc-0.9.33.2,wbx-github/uclibc-ng,klee/klee-uclibc,gittup/uClibc,hjl-tools/uClibc,waweber/uclibc-clang,kraj/uClibc,ndmsystems/uClibc,m-labs/uclibc-lm32,majek/uclibc-vx32,kraj/uclibc-ng,kraj/uclibc-ng,wbx-github/uclibc-ng,m-labs/uclibc-lm32,atgreen/uClibc-moxie,ndmsystems/uClibc,foss-for-synopsys-dwc-arc-processors/uClibc,wbx-github/uclibc-ng,ChickenRunjyd/klee-uclibc,ffainelli/uClibc,groundwater/uClibc,atgreen/uClibc-moxie,ChickenRunjyd/klee-uclibc,skristiansson/uClibc-or1k,ChickenRunjyd/klee-uclibc,ysat0/uClibc,foss-xtensa/uClibc,OpenInkpot-archive/iplinux-uclibc,wbx-github/uclibc-ng,hwoarang/uClibc,kraj/uclibc-ng,klee/klee-uclibc,groundwater/uClibc,ysat0/uClibc,OpenInkpot-archive/iplinux-uclibc,brgl/uclibc-ng,kraj/uClibc,OpenInkpot-archive/iplinux-uclibc,ddcc/klee-uclibc-0.9.33.2,OpenInkpot-archive/iplinux-uclibc,kraj/uClibc,brgl/uclibc-ng,ddcc/klee-uclibc-0.9.33.2,atgreen/uClibc-moxie,czankel/xtensa-uclibc,hwoarang/uClibc,brgl/uclibc-ng,klee/klee-uclibc,foss-xtensa/uClibc,czankel/xtensa-uclibc,hwoarang/uClibc,ChickenRunjyd/klee-uclibc,waweber/uclibc-clang,ffainelli/uClibc,mephi42/uClibc,mephi42/uClibc,gittup/uClibc,czankel/xtensa-uclibc,ffainelli/uClibc,hjl-tools/uClibc,skristiansson/uClibc-or1k,czankel/xtensa-uclibc,majek/uclibc-vx32,m-labs/uclibc-lm32,gittup/uClibc,ndmsystems/uClibc,ddcc/klee-uclibc-0.9.33.2,ysat0/uClibc,majek/uclibc-vx32,waweber/uclibc-clang,foss-xtensa/uClibc,hjl-tools/uClibc,atgreen/uClibc-moxie,foss-for-synopsys-dwc-arc-processors/uClibc,majek/uclibc-vx32,hjl-tools/uClibc,groundwater/uClibc