The following commit should be backported to glibc 2.15: ac4c54f0 - Fix confstr use of local buffer outside its extent. d6a403f9 - Fix last change.
Please provide a tested backport patch and describe how it was tested (as per the recent discussion of release branch processes on libc-alpha).
This needs a patch. Please reopen once you have a patch ready and include the testing details.