Launchpad has imported 12 comments from the remote bug at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28958.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://documentation.ubuntu.com/launchpad/user/reference/bugs/multi-project-bugs/about-multi-project-bugs/#bugs-in-external-trackers.

------------------------------------------------------------------------
On 2006-09-06T00:18:28+00:00 William-grant wrote:

(This was originally reported in Ubuntu, at
https://launchpad.net/distros/ubuntu/+source/vpnc/+bug/53341)

Compiling vpnc with any optimisations with GCC 4.1 causes a failure to
connect to a VPN. The issue is in the setup_link function, in vpnc.c,
although I've got no idea exactly what the problem with that function
is.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/vpnc/+bug/53341/comments/19

------------------------------------------------------------------------
On 2006-09-06T00:20:45+00:00 Pinskia wrote:

And this is not enough information to reproduce this bug, Can you attach
a testcase?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/vpnc/+bug/53341/comments/20

------------------------------------------------------------------------
On 2006-09-06T00:45:59+00:00 William-grant wrote:

Created attachment 12191
Working vpnc binary, compiled with -O0.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/vpnc/+bug/53341/comments/21

------------------------------------------------------------------------
On 2006-09-06T00:47:42+00:00 William-grant wrote:

Created attachment 12192
A broken vpnc binary compiled with -O3, it doesn't connect properly

Reply at:
https://bugs.launchpad.net/ubuntu/+source/vpnc/+bug/53341/comments/22

------------------------------------------------------------------------
On 2006-09-06T00:51:46+00:00 William-grant wrote:

Created attachment 12193
Another broken vpnc binary, this time compiled with -O1, still doesn't connect 
properly/

Reply at:
https://bugs.launchpad.net/ubuntu/+source/vpnc/+bug/53341/comments/23

------------------------------------------------------------------------
On 2006-09-06T00:54:27+00:00 William-grant wrote:

Created attachment 12194
The offending source file, setup_link is the function with issues.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/vpnc/+bug/53341/comments/24

------------------------------------------------------------------------
On 2006-09-06T00:57:14+00:00 Pinskia wrote:

        us->u.id.length = 4;
        us->u.id.data = xallocc(4);
        memcpy(us->u.id.data, s->our_address, sizeof(struct in_addr));

That looks wrong as sizeof(struct in_addr) does not have to equal 4.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/vpnc/+bug/53341/comments/25

------------------------------------------------------------------------
On 2006-09-06T01:25:23+00:00 William-grant wrote:

Could this cause the bug if optimisations are enabled? I don't know
anything about the vpnc source, I just uploaded the last two Ubuntu
revisions.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/vpnc/+bug/53341/comments/26

------------------------------------------------------------------------
On 2006-09-06T04:54:17+00:00 Pinskia wrote:

(In reply to comment #7)
> Could this cause the bug if optimisations are enabled? I don't know anything
> about the vpnc source, I just uploaded the last two Ubuntu revisions.

It could as the memory layout will be different, why don't you try to
use sizeof(struct in_addr) instead of 4?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/vpnc/+bug/53341/comments/27

------------------------------------------------------------------------
On 2006-09-06T07:43:42+00:00 William-grant wrote:

I've changed both those references, and have attached a new package to
the Ubuntu bug report for the reporter to test. I'll report back with
results that the tester has.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/vpnc/+bug/53341/comments/29

------------------------------------------------------------------------
On 2006-09-10T14:31:28+00:00 Pinskia wrote:

This still should be waiting for a testcase.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/vpnc/+bug/53341/comments/35

------------------------------------------------------------------------
On 2006-12-10T08:35:49+00:00 Pinskia wrote:

No real testcase in 3 months so closing.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/vpnc/+bug/53341/comments/39

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/53341

Title:
  0.3.3+SVN20051028-3ubuntu1 no longer works

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/53341/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to