Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 465230

Summary: media-tv/linuxtv-dvb-apps-1.1.1.20080317 - dvbnet: segmentation faults if given invalid options
Product: Gentoo Linux Reporter: Gustav Schaffter <gustav.schaffter>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: gustav.schaffter
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Gustav Schaffter 2013-04-09 10:03:16 UTC
Created attachment 344930 [details]
emerge --info

Steps to reproduce:
1) Install latest stable version of media-tv/linuxtv-dvb-apps,
   currently version 1.1.1.20080317

2) Execute dvbnet with invalid command line options.

Examples:

# dvbnet -?

DVB Network Interface Manager
Copyright (C) 2003, TV Files S.p.A

dvbnet: invalid option -- '?'
Segmentation fault
lpr ~ # dvbnet -h

DVB Network Interface Manager
Copyright (C) 2003, TV Files S.p.A

Segmentation fault
lpr ~ #


Expected behaviour:
dvdnet should not seg-fault, when it encounters options it doesn't recognize, but should preferably print it's "usage" information end terminate with a 'false' return value.
Comment 1 Pacho Ramos gentoo-dev 2016-02-08 11:52:05 UTC
What about 1.1.1.20100223-r1 version?