Forum: Ruby-core [ruby-trunk - Bug #9101][Open] Reference to unset variable

F5b50e0a300e904985db12fe940577a5?d=identicon&s=25 BertramScharpf (Bertram Scharpf) (Guest)
on 2013-11-11 03:51
(Received via mailing list)
Issue #9101 has been reported by BertramScharpf (Bertram Scharpf).

----------------------------------------
Bug #9101: Reference to unset variable
https://bugs.ruby-lang.org/issues/9101

Author: BertramScharpf (Bertram Scharpf)
Status: Open
Priority: Normal
Assignee:
Category: ext/openssl
Target version:
ruby -v: git revision e22d8781c8005b068ffa73ecc88728d720b6e870
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


File ext/openssl/ossl.c

line 1107, in Init_openssl():  call to ossl_raise()
line 1112, in Init_openssl():  first assignment to dOSSL

  ossl_raise() calls ossl_make_error().
  ossl_make_error() uses the global variable dOSSL (line 310).

==> ossl_raise() was called before dOSSL was set.

This will probably never cause any misbehaviour, but
nevertheless, it's definitely a bug.
F5b50e0a300e904985db12fe940577a5?d=identicon&s=25 BertramScharpf (Bertram Scharpf) (Guest)
on 2013-11-20 22:04
(Received via mailing list)
Issue #9101 has been updated by BertramScharpf (Bertram Scharpf).


Reminder: Not one single reaction for ten days.
----------------------------------------
Bug #9101: Reference to unset variable
https://bugs.ruby-lang.org/issues/9101#change-43043

Author: BertramScharpf (Bertram Scharpf)
Status: Open
Priority: Normal
Assignee:
Category: ext/openssl
Target version:
ruby -v: git revision e22d8781c8005b068ffa73ecc88728d720b6e870
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


File ext/openssl/ossl.c

line 1107, in Init_openssl():  call to ossl_raise()
line 1112, in Init_openssl():  first assignment to dOSSL

  ossl_raise() calls ossl_make_error().
  ossl_make_error() uses the global variable dOSSL (line 310).

==> ossl_raise() was called before dOSSL was set.

This will probably never cause any misbehaviour, but
nevertheless, it's definitely a bug.
F5b50e0a300e904985db12fe940577a5?d=identicon&s=25 BertramScharpf (Bertram Scharpf) (Guest)
on 2013-11-27 11:20
(Received via mailing list)
Issue #9101 has been updated by BertramScharpf (Bertram Scharpf).


Reminder: Not one single reaction in more than two weeks.
----------------------------------------
Bug #9101: Reference to unset variable
https://bugs.ruby-lang.org/issues/9101#change-43206

Author: BertramScharpf (Bertram Scharpf)
Status: Open
Priority: Normal
Assignee:
Category: ext/openssl
Target version:
ruby -v: git revision e22d8781c8005b068ffa73ecc88728d720b6e870
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


File ext/openssl/ossl.c

line 1107, in Init_openssl():  call to ossl_raise()
line 1112, in Init_openssl():  first assignment to dOSSL

  ossl_raise() calls ossl_make_error().
  ossl_make_error() uses the global variable dOSSL (line 310).

==> ossl_raise() was called before dOSSL was set.

This will probably never cause any misbehaviour, but
nevertheless, it's definitely a bug.
E7cff3cfd41c495e1012227d7dc24202?d=identicon&s=25 Luis Lavena (luislavena)
on 2013-11-27 13:48
(Received via mailing list)
Issue #9101 has been updated by luislavena (Luis Lavena).

Status changed from Open to Assigned
Assignee set to MartinBosslet (Martin Bosslet)


----------------------------------------
Bug #9101: Reference to unset variable
https://bugs.ruby-lang.org/issues/9101#change-43212

Author: BertramScharpf (Bertram Scharpf)
Status: Assigned
Priority: Normal
Assignee: MartinBosslet (Martin Bosslet)
Category: ext/openssl
Target version:
ruby -v: git revision e22d8781c8005b068ffa73ecc88728d720b6e870
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


File ext/openssl/ossl.c

line 1107, in Init_openssl():  call to ossl_raise()
line 1112, in Init_openssl():  first assignment to dOSSL

  ossl_raise() calls ossl_make_error().
  ossl_make_error() uses the global variable dOSSL (line 310).

==> ossl_raise() was called before dOSSL was set.

This will probably never cause any misbehaviour, but
nevertheless, it's definitely a bug.
This topic is locked and can not be replied to.