Skip to content

Commit

Permalink
[0.95.11] fix oss_parms heap overflow
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@668 0c269be4-1314-0410-8aa9-9f06e86f4224
  • Loading branch information
joq committed Mar 23, 2004
1 parent dfe479b commit 3ee5192
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure.in
Expand Up @@ -15,7 +15,7 @@ dnl changes are made
dnl ---
JACK_MAJOR_VERSION=0
JACK_MINOR_VERSION=95
JACK_MICRO_VERSION=10
JACK_MICRO_VERSION=11

dnl ---
dnl HOWTO: updating the jack protocol version
Expand Down
2 changes: 1 addition & 1 deletion drivers/oss/oss_driver.c
Expand Up @@ -1009,7 +1009,7 @@ jack_driver_desc_t * driver_get_descriptor ()
return NULL;
}
strcpy(desc->name, driver_client_name);
desc->nparams = 8;
desc->nparams = OSS_DRIVER_N_PARAMS;

params = calloc(desc->nparams, sizeof(jack_driver_param_desc_t));
memcpy(params, oss_params,
Expand Down

0 comments on commit 3ee5192

Please sign in to comment.