Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#13067 closed Bug Report - Crash (Fixed)

Guide/GetProgramGuide service API called without any arguments crashes mythbackend

Reported by: rich@… Owned by: Bill Meek
Priority: minor Milestone: 0.28.2
Component: MythTV - Services API - Backend Version: 0.28.1
Severity: medium Keywords: GetProgramGuide crash
Cc: Ticket locked: no

Description (last modified by Bill Meek)

Calling the Guide service's GetProgramGuide API without supplying any arguments causes a segmentation fault and the backend process to crash.

The expected behavior is to return an error indicating that required arguments are missing.

The HTTP request:

http://XXXXXXXXXXX:6544/Guide/GetProgramGuide

Seen in the logs:

Jul 11 14:16:32 XXXXXXXXXXX mythbackend[23987]: 2017-07-11 14:16:32.438617 I  MethodInfo::Invoke - An Exception Occurred
Jul 11 14:16:32 XXXXXXXXXXX mythbackend[23987]: 2017-07-11 14:16:32.438888 C  Received Segmentation fault: Code 1, PID 0, UID 0, Value 0x00000000

Version Info: mythbackend version: fixes/0.28 [v0.28.1-23-gaf98262] www.mythtv.org

System: Linux x86_64 Kernel 4.11.5

Change History (2)

comment:1 Changed 7 years ago by Bill Meek

Description: modified (diff)
Milestone: unknown0.28.2
Resolution: Fixed
Status: newclosed

(cherry picked from commit 29e2269424b6b84afeb3d68158ada829429a0610)

comment:2 Changed 6 years ago by Bill Meek

Owner: changed from Bill Meek to Bill Meek
Note: See TracTickets for help on using tickets.