Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 385700 Details for
Bug 523982
dev-perl/perl-tk with dev-lang/perl-5.20.1 - ?
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
MainWindow patch
mainwindow_segfaults.patch (text/plain), 773 bytes, created by
Norman Yarvin
on 2014-09-29 01:35:07 UTC
(
hide
)
Description:
MainWindow patch
Filename:
MIME Type:
Creator:
Norman Yarvin
Created:
2014-09-29 01:35:07 UTC
Size:
773 bytes
patch
obsolete
>From ba3a92a779f7adcf655b7e45b40ee5b0cb79bc8b Mon Sep 17 00:00:00 2001 >From: Slaven Rezic <slaven@rezic.de> >Date: Fri, 14 Mar 2014 16:00:05 +0100 >Subject: [PATCH] no segfaults if Tk::MainWindow::Create was called without > args > >However, this case never happened in real life, as this function was >not supposed to be used directly anyway. >--- > tkGlue.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/tkGlue.c b/tkGlue.c >index 57f0bca..ae595bf 100644 >--- a/tkGlue.c >+++ b/tkGlue.c >@@ -2370,7 +2370,7 @@ XS(XS_Tk__MainWindow_Create) > STRLEN na; > Tcl_Interp *interp = Tcl_CreateInterp(); > SV **args = &ST(0); >- char *appName = SvPV(ST(1),na); >+ char *appName = items >= 1 ? SvPV(ST(1),na) : ""; > int offset = args - sp; > int code; > if (!initialized)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 523982
:
385698
| 385700 |
385836
|
386136