Opened 8 years ago

Last modified 8 years ago

#13067 closed Bug Report - Crash

Guide/GetProgramGuide service API called without any arguments crashes mythbackend — at Initial Version

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

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 indecating 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 (0)

Note: See TracTickets for help on using tickets.