This patch was downloaded from https://sourceforge.net/p/mpg321/bugs/51/ and fixes CVE-2019-14247. Description: Handle illegal bitrate value Author: Chrysostomos Nanakos Bug-Debian: https://bugs.debian.org/870406 Bug-Debian: https://bugs.debian.org/887057 --- mpg321-0.3.2.orig/mad.c +++ mpg321-0.3.2/mad.c @@ -574,6 +574,12 @@ void scan(void const *ptr, ssize_t len, if (!is_vbr) { + if (header.bitrate <= 0) + { + fprintf(stderr, "Illegal bit allocation value\n"); + return; + } + double time = (len * 8.0) / (header.bitrate); /* time in seconds */ double timefrac = (double)time - ((long)(time)); long nsamples = 32 * MAD_NSBSAMPLES(&header); /* samples per frame */ aboutsummaryrefslogtreecommitdiff
path: root/etc/completion/zsh/_guix
AgeCommit message (Expand)Author
2021-10-24etc: completion: Filter gratuitous spaces from available packages....Tested with: guix environment --{ad-hoc,pure} zsh guix bash-completion coreutils -- zsh % fpath=(~/guix/etc/completion/zsh $fpath) % autoload -U compinit; compinit * etc/completion/zsh/_guix (_guix_list_available_packages): Remove spaces. Co-authored-by: Tobias Geerinckx-Rice <me@tobias.gr> Liliana Marie Prikler
2021-08-28zsh completion: Add missing commands and arguments....* etc/completion/zsh/_guix (_guix_install, _guix_remove, _guix_upgrade): New functions. (_guix_build, _guix_challenge, _guix_download, _guix_environment, _guix_packages, _guix_gc, _guix_hash, _guix_lint, _guix_package, _guix_publish, _guix_pull, _guix_refresh, _guix_size, _guix_system): Add some of the missing arguments. (_guix_cmds): Add missing commands. Co-authored-by: Brice Waegeneire <brice@waegenei.re> Noah Evans
2021-02-17scripts: system: Remove 'vm-image' command....Remove the 'vm-image' command that has been superseded by the 'image' command. * gnu/system/vm.scm (system-qemu-image): Remove it. * guix/scripts/system.scm (system-derivation-for-action): Mark 'vm-image' command as deprecated and use the image API to produce the VM image. (perform-action, show-help): Adapt accordingly. * tests/guix-system.sh: Ditto. * doc/guix.texi (Invoking guix system, Running Guix in a VM): Ditto. * etc/completion/fish/guix.fish: Ditto. * etc/completion/zsh/_guix: Ditto. Mathieu Othacehe
2019-11-26guix build, daemon: Rename "--no-build-hook" to "--no-offload"....This is a followup to bc69ea2d605810cc32e13ed03d5848b8dc358b61. * guix/scripts/build.scm (show-build-options-help): Rename "--no-build-hook" to "--no-offload". (%standard-build-options): Likewise, and warn when "--no-build-hook" is passed. * nix/nix-daemon/guix-daemon.cc (options): Add "--no-offload" and mark "--no-build-hook" as hidden. * guix/scripts/offload.scm: Adjust comment. * doc/guix.texi (Invoking guix-daemon, Common Build Options): Replace "--no-build-hook" with "--no-offload". * etc/completion/fish/guix.fish, etc/completion/zsh/_guix: Adjust accordingly. Ludovic Courtès