FS#31521 - [slim] note: last fix labelled as "glib-segfault" is actually a bug in slim
Attached to Project:
Arch Linux
Opened by Fabien COUTANT (fcoutant) - Thursday, 13 September 2012, 07:25 GMT
Last edited by Allan McRae (Allan) - Friday, 16 November 2012, 14:03 GMT
Opened by Fabien COUTANT (fcoutant) - Thursday, 13 September 2012, 07:25 GMT
Last edited by Allan McRae (Allan) - Friday, 16 November 2012, 14:03 GMT
|
Details
Description:
I just happened to check what changed in this slim version, and looked at the "fix-glibc*" patch; The fact that one has to allocate one more cell in the child_env array is not due to glibc but to a context line that fortunately appears at the end of the patch file: child_env[n] = NULL; This explicitly writes beyond the end of the previously allocated array size (remember C/C++ arrays start counting at 0), thus a segfault in this case was perfectly legitimate and not a bug in glibc. Additional info: * package version(s) slim 1.3.4-3 * config and/or log files etc. in package build files: fix-glibc-segfault*.patch Steps to reproduce: n/a |
This task depends upon
Comment by
Jelle van der Waa (jelly) -
Thursday, 13 September 2012, 09:19 GMT
Comment by
Tobias Powalowski (tpowa) - Thursday,
13 September 2012, 12:33 GMT
Please report it upstream
Sorry I named it like this, there was no name given in the bug
report.