Your message dated Thu, 01 May 2008 12:32:06 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#476256: fixed in stfl 0.18-3
has caused the Debian Bug report #476256,
regarding libstfl-dev: Segmentation fault occurs if root widget was replaced.
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
476256: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476256
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: libstfl-dev
Version: 0.18-2
Severity: normal
Segmentation fault occurs if root widget was replaced.
Testcase and patch were attached.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.25-rc5-mm1
Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP (charmap=EUC-JP)
Shell: /bin/sh linked to /bin/bash
Versions of packages libstfl-dev depends on:
ii libncursesw5-dev 5.6+20080405-1 Developer's libraries for ncursesw
libstfl-dev recommends no packages.
-- no debconf information
#include <stfl.h>
#include <locale.h>
#include <stdio.h>
#include <langinfo.h>
int main(void)
{
struct stfl_form *form;
struct stfl_ipool *ipool;
const wchar_t *dump;
if (setlocale(LC_ALL, "") == NULL)
{
perror("setlocale");
return 1;
}
form = stfl_create(L"vbox[a]\n vbox[b]\n list\n listitem
text:Asafffffff\n");
ipool = stfl_ipool_create(nl_langinfo(CODESET));
puts(stfl_ipool_fromwc(ipool, stfl_dump(form, NULL, NULL, 0)));
dump = stfl_dump(form, L"a", NULL, 0);
puts(stfl_ipool_fromwc(ipool, dump));
stfl_modify(form, L"a", L"replace", dump);
puts(stfl_ipool_fromwc(ipool, stfl_dump(form, NULL, NULL, 0)));
stfl_ipool_flush(ipool);
stfl_ipool_destroy(ipool);
stfl_free(form);
return 0;
}
diff -uNrp stfl-0.18.orig/public.c stfl-0.18/public.c
--- stfl-0.18.orig/public.c 2007-11-11 21:28:52.000000000 +0900
+++ stfl-0.18/public.c 2008-04-15 00:11:49.000000000 +0900
@@ -302,7 +302,10 @@ void stfl_modify(struct stfl_form *f, co
mode = mode ? mode : L"";
if (!wcscmp(mode, L"replace")) {
- stfl_modify_after(w, n);
+ if (w == f->root)
+ f->root = n;
+ else
+ stfl_modify_after(w, n);
stfl_widget_free(w);
goto finish;
}
--- End Message ---
--- Begin Message ---
Source: stfl
Source-Version: 0.18-3
We believe that the bug you reported is fixed in the latest version of
stfl, which is due to be installed in the Debian FTP archive:
libstfl-dev_0.18-3_amd64.deb
to pool/main/s/stfl/libstfl-dev_0.18-3_amd64.deb
libstfl-perl_0.18-3_amd64.deb
to pool/main/s/stfl/libstfl-perl_0.18-3_amd64.deb
libstfl-ruby1.8_0.18-3_amd64.deb
to pool/main/s/stfl/libstfl-ruby1.8_0.18-3_amd64.deb
libstfl-ruby1.9_0.18-3_amd64.deb
to pool/main/s/stfl/libstfl-ruby1.9_0.18-3_amd64.deb
libstfl-ruby_0.18-3_all.deb
to pool/main/s/stfl/libstfl-ruby_0.18-3_all.deb
libstfl-spl_0.18-3_amd64.deb
to pool/main/s/stfl/libstfl-spl_0.18-3_amd64.deb
python-stfl_0.18-3_amd64.deb
to pool/main/s/stfl/python-stfl_0.18-3_amd64.deb
stfl_0.18-3.diff.gz
to pool/main/s/stfl/stfl_0.18-3.diff.gz
stfl_0.18-3.dsc
to pool/main/s/stfl/stfl_0.18-3.dsc
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Nico Golde <[EMAIL PROTECTED]> (supplier of updated stfl package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Thu, 01 May 2008 14:08:01 +0200
Source: stfl
Binary: libstfl-dev libstfl-perl python-stfl libstfl-ruby1.8 libstfl-ruby1.9
libstfl-ruby libstfl-spl
Architecture: source amd64 all
Version: 0.18-3
Distribution: unstable
Urgency: low
Maintainer: Nico Golde <[EMAIL PROTECTED]>
Changed-By: Nico Golde <[EMAIL PROTECTED]>
Description:
libstfl-dev - structured terminal forms language/library
libstfl-perl - Perl bindings for the structured terminal forms language/library
libstfl-ruby - Ruby bindings for the structured terminal forms language/library
libstfl-ruby1.8 - Ruby bindings for the structured terminal forms
language/library
libstfl-ruby1.9 - Ruby bindings for the structured terminal forms
language/library
libstfl-spl - SPL bindings for the structured terminal forms language/library
python-stfl - python bindings for the structured terminal forms language/librar
Closes: 476256
Changes:
stfl (0.18-3) unstable; urgency=low
.
* Apply patch by Kusanagi Kouichi to prevent a segfault
if the root widget was replaced (Closes: #476256).
* Bump compat level to 6 as it is the default now.
* Fix spelling-error-in-description python Python by writing
python in lowercase letters in the description.
Checksums-Sha1:
47f7c02640b9ee9f433639989b8317fda05e140a 1366 stfl_0.18-3.dsc
28587fa0872017c96933c719a63fa609c499ad2f 7216 stfl_0.18-3.diff.gz
83b31f88d1a8b042ca8865d2e74a47ed99b3aea9 44668 libstfl-dev_0.18-3_amd64.deb
2037fb36ffae61a584753fdb09716156dfb83e66 45792 libstfl-perl_0.18-3_amd64.deb
669d184d37ce66358c23f2e38b6b64767a2102d4 90502 python-stfl_0.18-3_amd64.deb
f2fe0bcf1a332266d37db443452d5904d2aebaac 40474 libstfl-ruby1.8_0.18-3_amd64.deb
55856edeb56cba2b70817d2f19c1eeda93fced09 40736 libstfl-ruby1.9_0.18-3_amd64.deb
3071c10a493760aa0b52919402a58a03468ea3bf 5454 libstfl-ruby_0.18-3_all.deb
f3fdce7337f52d1ff0ae81766112cd4abd9e22e2 33972 libstfl-spl_0.18-3_amd64.deb
Checksums-Sha256:
6d3e909ef68bb4522aeb010ebce1abd677c5c2ffaa96cd39552ba47c1cb7a43f 1366
stfl_0.18-3.dsc
86c19bc656a472b70867d430e938c581114a7b5e85cb9c6cdc3b3a9f80bce927 7216
stfl_0.18-3.diff.gz
233081890e390cd982a1900c828cf408917d3570ab966c782922ca4c665a3786 44668
libstfl-dev_0.18-3_amd64.deb
e3f4f46520600b8bc1b185a78c719580d28c6afd377f98039a74af976c1debb6 45792
libstfl-perl_0.18-3_amd64.deb
13792298e473e880779d2ec1cfe461aac36f669df584f8d77adaf7aa25e78e9f 90502
python-stfl_0.18-3_amd64.deb
c1247e26303b92e073d70263aff3bf11961f994e07a7a3a9914953cb26f4e228 40474
libstfl-ruby1.8_0.18-3_amd64.deb
7a323dcb16e107650de37781105d971ee500958e6f14ddd55de9f105f9c57805 40736
libstfl-ruby1.9_0.18-3_amd64.deb
47d5eb530cc59424603b48e2d70eae38ac4d2cafb871f949491fcdfac5a7dece 5454
libstfl-ruby_0.18-3_all.deb
c454af0e8c74185e60de383569cccf8569061e9b2156ff2e4d14a86df9847107 33972
libstfl-spl_0.18-3_amd64.deb
Files:
7fcd893ce190c5a5715edbae2f627239 1366 libdevel optional stfl_0.18-3.dsc
cb147e3ac24e6ce7e3eb4644b1dc60d4 7216 libdevel optional stfl_0.18-3.diff.gz
21c58ac4c272d9a2fec1ac7980607ba6 44668 libdevel optional
libstfl-dev_0.18-3_amd64.deb
bb372289ea55e63e46964e7be3f2636a 45792 perl optional
libstfl-perl_0.18-3_amd64.deb
afe029936243180b9326a09e4513703b 90502 python optional
python-stfl_0.18-3_amd64.deb
9848a6ce7721f4eb6ac09a1546885dba 40474 interpreters optional
libstfl-ruby1.8_0.18-3_amd64.deb
adedad2051ebbe39c987ae3d61b00276 40736 interpreters optional
libstfl-ruby1.9_0.18-3_amd64.deb
06b7addde67d463816f7dc2f87b4f7b4 5454 interpreters optional
libstfl-ruby_0.18-3_all.deb
9e95c77959a15056238a0b4c42e15900 33972 devel optional
libstfl-spl_0.18-3_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIGbV4HYflSXNkfP8RAlJQAJ9j09ruKX2oNcOmAEZWgxqDtNAA4ACeKHeh
6IwKj8/xQWIOr6iZOrSu4ic=
=gEFZ
-----END PGP SIGNATURE-----
--- End Message ---