Opened 3 years ago

Closed 3 years ago

#2233 closed defect (done)

Cloning exception in svm_parameter when performing symbolc regression with LibSVM

Reported by: bburlacu Owned by: mkommend
Priority: medium Milestone: HeuristicLab 3.3.11
Component: ExtLibs Version: 3.3.10
Keywords: libsvm Cc:

Description (last modified by bburlacu)

The weight and weight_label fields are only initialized and used during classification tasks. For symbolic regression they are unnecessary and will be null. It is necessary to add appropriate checks to the svm_parameter.Clone() method so that Array.Copy will not throw an exception.

Change History (4)

comment:1 Changed 3 years ago by bburlacu

  • Description modified (diff)
  • Status changed from new to accepted

comment:2 Changed 3 years ago by bburlacu

  • Owner changed from bburlacu to gkronber
  • Status changed from accepted to reviewing

r11306: Check weight and weight_label fields for null when cloning svm_parameters.

comment:3 Changed 3 years ago by gkronber

  • Owner changed from gkronber to mkommend
  • Status changed from reviewing to readytorelease

comment:4 Changed 3 years ago by mkommend

  • Resolution set to done
  • Status changed from readytorelease to closed

r11371: Merged r11036 into stable.

Note: See TracTickets for help on using tickets.