pike issueshttps://git.lysator.liu.se/pikelang/pike/-/issues2009-04-16T14:11:39Zhttps://git.lysator.liu.se/pikelang/pike/-/issues/69Backport paranoia check for NUL from 7.12009-04-16T14:11:39ZPeter BortasBackport paranoia check for NUL from 7.1Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=69
Reported by @zino
The paranoia check for NUL in open() should be backported. See
http://community.roxen.com/developers/cvs/diff.html?file=4148&v1=1.81&v2=1.80
http:/...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=69
Reported by @zino
The paranoia check for NUL in open() should be backported. See
http://community.roxen.com/developers/cvs/diff.html?file=4148&v1=1.81&v2=1.80
http://community.roxen.com/developers/cvs/diff.html?file=4151&v1=1.181&v2=1.180Pike 7.0Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/6062Constant expression mapping mixup/leak2011-09-05T12:42:26ZPeter BortasConstant expression mapping mixup/leakImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=6062
Reported by @grubba
From LysLysKOM:
19255202 idag 02:24 /51 rader/ Martin Nilsson (Opera Mini - AFK!)
Mottagare: Pike (-) developers forum <17761>
Ärende: Mapping ...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=6062
Reported by @grubba
From LysLysKOM:
19255202 idag 02:24 /51 rader/ Martin Nilsson (Opera Mini - AFK!)
Mottagare: Pike (-) developers forum <17761>
Ärende: Mapping mixup
------------------------------------------------------------
We've seen this nasty little issue. The following code
```
class C
{
mapping options = ([1:1]);
void create()
{
werror("%O\n\n", options);
}
}
void main()
{
C c = C();
c->options[3] = 3;
C cc = C();
}
```
will result in
```
nilsson@riaa:~$ pike --dumpversion
7.9.5
nilsson@riaa:~$ uname -a
Linux riaa 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:07:17 UTC
2011 x86_64 x86_64 x86_64 GNU/Linux
nilsson@riaa:~$ pike test.pike
([ /* 1 element */
1: 1
])
```
([ /* 2 elements */
1: 1,
3: 3
])
thought it works fine on
```
nilsson@khora:~$ pike --dumpversion
7.9.5
nilsson@khora:~$ uname -a
Linux khora 2.6.32-28-generic #55-Ubuntu SMP Mon Jan 10 21:21:01 UTC
2011 i686 GNU/Linux
nilsson@khora:~$ pike test.pike
([ /* 1 element */
1: 1
])
```
([ /* 1 element */
1: 1
])
(19255202) /Martin Nilsson (Opera Mini - AFK!)/-----Pike 8.0Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/6328Roxen5.2 can't connect to Postgres2012-06-18T15:52:48ZPeter BortasRoxen5.2 can't connect to PostgresImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=6328
Reported by Eiichiro ITANI, <emu@ceres.dti.ne.jp>
I'm trying Roxen5.2.
Through administration interface, add new db connecting external postgres with
database uri '...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=6328
Reported by Eiichiro ITANI, <emu@ceres.dti.ne.jp>
I'm trying Roxen5.2.
Through administration interface, add new db connecting external postgres with
database uri 'pgsql://user@dbhostname/dbname'.
It raises error:
```
FATAL 42704: unrecognized configuration parameter "reconnect" (guc.c:set_config_option:5100)
```
Looking pgsql.pike, I changed line 1071, add "reconnect" in multiset keys.
```
foreach(options-(<"use_ssl","force_ssl","cache_autoprepared_statements","reconnect">);
string name;mixed value)
```
I restarted roxen, And accessing DB tab of Admin Interface, I waited very long for
server response. I found that roxen was trying to retrieve schema information from
newly add postgres database which hold many tables (over 1000). While roxen trying
to get schema info from db, another connections to server blocked.
So anyway,
1. CRITICAL: "reconnect" option should properly handled or removed with connecting pgsql driver
2. WISHLIST: It would be nice working of fetching schema backgrounded.
I hit above problem with
Roxen 5.2.191
Pike 7.8.662
Postgresql 9.1.3Pike 7.8Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/7780String optimization bug2016-09-14T11:13:44ZPeter BortasString optimization bugImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=7780
Reported by Jonas Wallden <jonasw@roxen.com>
I see unexpected string handling in 8.0.290 compared to 7.8. Test program:
```
void main()
{
string s1 = "aaaaa";
s...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=7780
Reported by Jonas Wallden <jonasw@roxen.com>
I see unexpected string handling in 8.0.290 compared to 7.8. Test program:
```
void main()
{
string s1 = "aaaaa";
string s2 = "BBBBBBBB";
werror("#1: %s\n", (s2 + s1)[..sizeof(s1) - 1]);
s2 = (s2 + s1)[..sizeof(s1) - 1];
werror("#2: %s\n", s2);
}
```
Output from 7.8:
```
#1: BBBBB
#2: BBBBB
```
Output from 8.0.290:
```
#1: BBBBB
#2: BBBBBBBBaaaaa
```Pike 8.0Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/10122Support Nettle 3.92023-05-17T14:30:55ZHenrik (Grubba) GrubbströmSupport Nettle 3.9Pike 8.0 and master trigger SIGSEGVs in Nettle 3.9. These are likely due to bugs in Nettle 3.9.
Consider adding (runtime-?) detection of Nettle 3.9.
Check with Nisse to see if there are work-arounds.Pike 8.0 and master trigger SIGSEGVs in Nettle 3.9. These are likely due to bugs in Nettle 3.9.
Consider adding (runtime-?) detection of Nettle 3.9.
Check with Nisse to see if there are work-arounds.https://git.lysator.liu.se/pikelang/pike/-/issues/5097TLS/SSL vulnerability: CVE-2009-35552009-11-16T15:21:51ZPeter BortasTLS/SSL vulnerability: CVE-2009-3555Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=5097
Reported by Marcus Wellhardh <wellhard@roxen.com>
Investigate if Roxen WebServer is affected by the following security vulnerability
and if so provide a fix:
http...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=5097
Reported by Marcus Wellhardh <wellhard@roxen.com>
Investigate if Roxen WebServer is affected by the following security vulnerability
and if so provide a fix:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2009-3555
Reported in [RT 14488].Pike 7.2Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbström