: [PATCH] aserver.c -- terminate long options list and thus prevent segmentation fault on invalid command line options
The following bug has been SUBMITTED.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000524
======================================================================
Reported By: jdthood
Assigned To:
======================================================================
Project: ALSA - lib Bug ID: 524 Category: general Reproducibility: always Severity: feature Priority: normal Status: new ====================================================================== Date Submitted: 09-22-2004 23:38 CEST Last Modified: 09-22-2004 23:38 CEST
======================================================================
Summary: [PATCH] aserver.c -- terminate long options list and thus prevent segmentation fault on invalid command line options
Description:
aserver.c 2004-09-04 16:34:56.000000000 +0200 renamed from aserver.c.orig 2004-09-04 16:16:53.000000000 +0200 +2 -1
@@ -1006,7 +1006,8 @@ int main(int argc, char **argv) { static struct option long_options[] = { - {"help", 0, 0, 'h'} + {"help", 0, 0, 'h'}, + { 0 , 0 , 0, 0 } }; int c; snd_config_t *conf;
======================================================================
Bug History
Date Modified Username Field Change
======================================================================
09-22-04 23:38 jdthood New Bug
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php