Project

General

Profile

Actions

Bug #2387

closed

Segvault, inkl Fix.

Added by chriszero about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
04/26/2016
Due date:
% Done:

0%

Estimated time:

Description

Hallo,

in cDisplayReplay muss der Pointer "recording" auf NULL initialisiert werden.
Es ist nämlich nicht sicher das SetRecording() aufgerufen wird. Wie zum Beispiel beim plex-plugin, bluray-plugin. Dort gibt es kein Recording Objekt.

In UpdateInfo() machst du ein if(recoding), welches aber immer wahr ist weil der Pointer nicht mit NULL initialisiert wird.

Grundsätzlich is es ratsam alle Pointer mit NULL zu initialisieren, dann fällt das schneller auf...

Anbei ein Patch.

Chris


Files

patch0.patch (352 Bytes) patch0.patch chriszero, 04/26/2016 07:34 PM
Actions #1

Updated by Martin1234 about 8 years ago

  • Status changed from New to Closed

Danke für den Fix ist übernommen

Actions

Also available in: Atom PDF