Dataset Viewer
Auto-converted to Parquet Duplicate
index
stringlengths
50
82
diff
stringlengths
136
4.5k
msg
stringlengths
10
207
author_msgs
stringlengths
0
1.63k
fix_msgs
stringlengths
0
2.77k
mjg59___linux_96f339c6b95344942fe5fce012ff4f2a3b2cb80d
--- drivers/char/mbcs.c +++ drivers/char/mbcs.c @@ -830,6 +830,9 @@ static int __init mbcs_init(void) { int rv; + if (!ia64_platform_is("sn2")) + return -ENODEV; + // Put driver into chrdevs[]. Get major number. rv = register_chrdev(mbcs_major, DEVICE_NAME, &mbcs_ops); if (rv < 0) {
[IA64] mbcs_init() should give up unless running on sn2
mjg59___linux_28cff50d99ce9a1db65b7d4dcdcc0f1f8d9f9309
--- drivers/net/wimax/i2400m/fw.c +++ drivers/net/wimax/i2400m/fw.c @@ -1388,15 +1388,16 @@ const struct i2400m_bcf_hdr *i2400m_bcf_hdr_find(struct i2400m *i2400m) */ static int i2400m_fw_dnload(struct i2400m *i2400m, const struct i2400m_bcf_hdr *bcf, - size_t bcf_size, enum i2400m_bri flags) + size_t f...
wimax/i2400m: change the bcf_len to exclude the extended header size
ffmpeg___ffmpeg_32d464121959389bd266abe232896da09bbf2bd5
--- libavfilter/avf_showspectrum.c +++ libavfilter/avf_showspectrum.c @@ -211,9 +211,11 @@ static int config_output(AVFilterLink *outlink) if (!outpicref) return AVERROR(ENOMEM); outlink->sample_aspect_ratio = (AVRational){1,1}; - memset(outpicref->data[0], 0, outlink->h * outpic...
lavfi/showspectrum: fix crash in case of negative linesize
lavc: constify enums for .pix_fmts libopenjpegdec: always check image because decoding may still fail avcodec: add bmp parser vf_colormatrix: add missing semicolon lavc: add missing PIX_FMT_YUVA444P tiffdec: PIX_FMT_GRAY16LE support paf: fix audio packet duration lxfdec: remove deplanarization hack build: update mxf mu...
cosmetics: misc typo fixes Fix 1bpp palettized png with width not a multiple of 8. fix release number log some errors 100l fix codebook usage for v1 vectors lavc: fix decode_frame() third parameter semantics for video decoders uninitalized variables fix by (Gildas Bazin <gbazin at altern dot org>) apichanges: fix 2 wro...
torvalds___linux_f4d340cf869b2b63e1043eed72aa2eab6fa2cb2c
--- drivers/usb/net/usbnet.c +++ drivers/usb/net/usbnet.c @@ -2765,7 +2765,7 @@ static int blan_mdlm_bind (struct usbnet *dev, struct usb_interface *intf) } /* expect bcdVersion 1.0, ignore */ if (memcmp(&desc->bGUID, blan_guid, 16) - && memcmp(&desc->bGUID, blan_guid, 16) ) { + && memcmp(&des...
[PATCH] USB: resolve Zaurus problem
opensc___opensc_9fe86d16fe55a3f06bd04e3ef0c2f1a45c88a8d3
--- src/libopensc/card-atrust-acos.c +++ src/libopensc/card-atrust-acos.c @@ -842,8 +842,8 @@ static int acos_get_serialnr(sc_card_t *card, sc_serial_number_t *serial) if (apdu.sw1 != 0x90 || apdu.sw2 != 0x00) return SC_ERROR_INTERNAL; /* cache serial number */ - memcpy(card->serialnr.value, apdu.resp, apdu.resp...
libopensc: protect for possible buffer overflows from rogue cards.
Documentation: there is no external API, remove the manpage generation. MacInstaller: Simplify file detection Get rid of configure warnings: Convert newlines to unix style, remove compiler warnings. * Add a few debug lines Fix "serial->len is used uninitialized", By Aleksey Samsonov Add a section for tokend Fix compile...
fix mistake in r4065 - fixed suppress_error handling in sc_pkcs15init_write_info fix: memory leak - next object missed out to release - fixed test for onepin option Error when output allocation length is not equal to the signature length. 'Compute_signature' now returns the answer's length Fix for previous commit - fix...
qemu___qemu_43c696a298f6bef81818b1d8e64d41a160782101
--- include/hw/virtio/virtio-scsi.h +++ include/hw/virtio/virtio-scsi.h @@ -91,7 +91,6 @@ typedef struct VirtIOSCSI { bool dataplane_started; bool dataplane_starting; bool dataplane_stopping; - bool dataplane_disabled; bool dataplane_fenced; Error *blocker; uint32_t host_features; --- ...
virtio-scsi: fix disabled mode
stoth68000___media-tree_6d7e7e02a044025237b6f62a20521170b794537f
--- drivers/crypto/omap-aes.c +++ drivers/crypto/omap-aes.c @@ -554,15 +554,23 @@ static int omap_aes_crypt_dma_stop(struct omap_aes_dev *dd) return err; } -static int omap_aes_check_aligned(struct scatterlist *sg) +static int omap_aes_check_aligned(struct scatterlist *sg, int total) { + int len = 0; + while (s...
crypto: omap-aes - Fix support for unequal lengths
crypto: omap-sham - Use pm_runtime_irq_safe()
Remove bogus BUG() in kernel/exit.c sfc: QT2025C: Add error message for suspected bad SFP+ cables perf_event: Fix incorrect range check on cpu number USB: sierra: Add new devices Btrfs: fix off-by-one in cow_file_range_inline() [ARM] S3C: Fix S3C24XX build to not include s3c64xx IIS devices [XFS] Fix nused counter. It...
cyrusimap___cyrus-imapd_96aaa9397784b876acdb8683cc99cff3b1fc7905
--- lib/xmalloc.c +++ lib/xmalloc.c @@ -1,5 +1,5 @@ /* xmalloc.c -- Allocation package that calls fatal() when out of memory - $Id: xmalloc.c,v 1.13 1998/05/15 21:53:37 neplokh Exp $ + $Id: xmalloc.c,v 1.14 1999/03/01 21:16:44 tjs Exp $ # Copyright 1998 by Carnegie Mellon University # @@ -27,6 +27,7 @@ ...
declared free to hopefully shut up the compiler
To make the copyright a little more obvious, I'm adding a copy here at the fixed notes on CAPA Added imclient.3 manpage and modified the Makefile to do the right thing with added some changes for --enable-netscapehack this has the db patches but NOT the severely broken fix for the \r\0 problem doc'ed that /var/imap/del...
Bug fix: can't "optimize" out use of charset_readmapnl, as failing to Fix to set Cyrus user to "cyrus" in SMakefile, disable amssync on SGI in SMakefile, actually allow ptclient to build, in configure.in Fix bug in LIST/LSUB \Noselect code. Noted the pwcheck 'caching' bug imclient parsing fix (mostly) from Jeff Hutzelm...
wireshark___wireshark_4b6ef3fac248c5e1c06195a69fae0475d2c02843
--- epan/dissectors/packet-ieee80211-radiotap-iter.c +++ epan/dissectors/packet-ieee80211-radiotap-iter.c @@ -159,6 +159,8 @@ int ieee80211_radiotap_iterator_init( /* find payload start allowing for extended bitmap(s) */ if (iterator->_bitmap_shifter & (1<<IEEE80211_RADIOTAP_EXT)) { + if (!ITERATOR_VALID(iterato...
Add another check to radiotap-iter initialization to catch another out-of-bounds
Improve wmem strbuf tests, add tests for string util. functions Slight simplification, inline a function only ever called once. From Lori Tribble via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8306 Update the MSRP link, it's an actual RFC now. Don't try and fetch the repeat value of slot 0, since it makes us u...
Fix up the overlap checks in the fragment_add_seq functions for From Andrei Emeltchenko: Add OUI_BLUETOOTH part of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7633 bt-oui: Add decoding Bluetooth High Speed over wireless (Trivial) Fix a typo in a comment. Add a "-f" flag to the "rm", so that "make clean" won't g...
torvalds___linux_44176b45d1aae04d99c505e6ee98d2d3c3fce173
--- drivers/net/sfc/sfe4001.c +++ drivers/net/sfc/sfe4001.c @@ -375,17 +375,25 @@ static void sfn4111t_fini(struct efx_nic *efx) i2c_unregister_device(efx->board_info.hwmon_client); } -static struct i2c_board_info sfn4111t_hwmon_info = { +static struct i2c_board_info sfn4111t_a0_hwmon_info = { I2C_BOARD_INFO("ma...
sfc: Update board info for hardware monitor on SFN4111T-R5 and later
qemu___qemu_6bf0076643dac4f37cabb9233dc9170f1c2fdd49
--- tests/libqtest.c +++ tests/libqtest.c @@ -39,7 +39,8 @@ struct QTestState int qmp_fd; bool irq_level[MAX_IRQ]; GString *rx; - gchar *pid_file; + gchar *pid_file; /* QEMU PID file */ + int child_pid; /* Child process created to execute QEMU */ char *socket_path, *qmp_socket_path; }; ...
libqtest: Wait for the right child PID after killing QEMU
qemu___qemu_0d92d17a6d0d65af8cb905bdd5f9e04e210564ff
--- blockdev.c +++ blockdev.c @@ -433,6 +433,12 @@ DriveInfo *drive_init(QemuOpts *opts, int default_to_scsi) return NULL; } + if (qemu_opt_get(opts, "boot") != NULL) { + fprintf(stderr, "qemu-kvm: boot=on|off is deprecated and will be " + "ignored. Future versions will reject t...
Issue warning when deprecated drive parameter boot=on|off is used
lxc___lxc_ae9242c86a1a566d98a2cff4df680f1fcd0ecc48
--- src/lxc/conf.c +++ src/lxc/conf.c @@ -1732,6 +1732,8 @@ static int setup_private_host_hw_addr(char *veth1) return 0; } +static char *default_rootfs_mount = LXCROOTFSMOUNT; + struct lxc_conf *lxc_conf_init(void) { struct lxc_conf *new; @@ -1750,7 +1752,7 @@ struct lxc_conf *lxc_conf_init(void) new->consol...
switch use of #define with static char*
lxc-ubuntu.in: fix up the logic adding group for bound users check sscanf return value lxc-ubuntu: use relative path as target for bind mount Add lxc-shutdown script lxc-ubuntu.in: drop duplicate code don't try to pin a null rootfs. lxc-ubuntu-cloud: extract the right filenames from tarball check return values of scanf...
report error in lxc_get_lock Fix compilation error fix log appending to any file ubunutu - fix ssh runlevel stop condition Updated with the cgroup section and fixed some typos SYSERROR not to add end of line character fix bad docbook syntax in lxc-create.sgml.in fix a compilation warning fix Makefiles to compile object...
stoth68000___media-tree_94a6735cd67375029c2092e6d46f14b2721e6793
--- drivers/isdn/sc/ioctl.c +++ drivers/isdn/sc/ioctl.c @@ -97,6 +97,7 @@ int sc_ioctl(int card, scs_ioctl *data) case SCIOCSTART: { + kfree(rcvmsg); pr_debug("%s: SCIOSTART: ioctl received\n", sc_adapter[card]->devicename); if(sc_adapter[card]->EngineUp) {
[PATCH] i4l: memory leak fix for sc_ioctl().
[PATCH] USB: Resource leak fix for whiteheat driver [PATCH] mtd, nettel: fix build error and implicit declaration [SCSI] SCSI: aic7xxx_osm_pci resource leak fix. [PATCH] NE2000 Kconfig help entry improvement [PATCH] voyager: no need to define BITS_PER_BYTE when it's already in types.h [PATCH] isdn_v110 warning fix [PAT...
[PATCH] uml: Fix skas0 stub return [PATCH] sata_mv: endian fix IB/mthca: multiple fixes for multicast group handling [PATCH] x86-64: Delivery mode should be APIC_DM_FIXED when using physical mode. [IPVS]: fix sparse gfp nocast warnings [ALSA] hda-intel - Fix PM support [PATCH] SHPC: Fix SHPC Contoller SERR-INT Register...
qemu___qemu_dace20dcc98f90a931e88aa641f5633cdcf30c30
--- linux-user/ioctls.h +++ linux-user/ioctls.h @@ -76,7 +76,7 @@ #ifdef FIGETBSZ IOCTL(FIGETBSZ, IOC_R, MK_PTR(TYPE_LONG)) #endif -#ifdef FS_IOC_FIEMAP +#ifdef CONFIG_FIEMAP IOCTL_SPECIAL(FS_IOC_FIEMAP, IOC_W | IOC_R, do_ioctl_fs_ioc_fiemap, MK_PTR(MK_STRUCT(STRUCT_fiemap))) #endif ...
linux-user: Add configure check for linux/fiemap.h and IOC_FS_FIEMAP
stoth68000___media-tree_9a7f2fc8408fdc0e3b417f670c17ed70d5d1c114
--- arch/arm/mach-davinci/da8xx-dt.c +++ arch/arm/mach-davinci/da8xx-dt.c @@ -18,16 +18,6 @@ #include "cp_intc.h" #include <mach/da8xx.h> -static const struct of_device_id const da8xx_irq_match[] __initconst = { - { .compatible = "ti,cp-intc", .data = cp_intc_of_init, }, - { } -}; - -static void __init da8xx_init_i...
ARM: davinci: use IRQCHIP_DECLARE for cp_intc
ARM: davinci: simplify call to of populate ARM: davinci: remove unused DA8XX_NUM_UARTS
drm/i915: [sparse] __iomem fixes for debugfs V4L/DVB (6165): cx23885: fix Kconfig dependencies [GFS2] Fix build warnings [media] media/rc: fix oops on unloading module rc-core ASoC: arizona: Clarify logging for FLL lock status interrupt tracing: Fix reset of time stamps during trace_clock changes staging: comedi: dyna_...
libav___libav_954a0b482a1463f0c2fa3edb758568e049585189
--- libavcodec/mpegvideo_enc.c +++ libavcodec/mpegvideo_enc.c @@ -395,6 +395,14 @@ av_cold int MPV_encode_init(AVCodecContext *avctx) return -1; } + if ((s->codec_id == CODEC_ID_MPEG4 || s->codec_id == CODEC_ID_H263 || + s->codec_id == CODEC_ID_H263P) && + (avctx->sample_aspect_ratio.n...
Check sample_aspect_ratio validity for mpeg4/h263/h263p encoding.
qemu___qemu_bd69fe8448024258d046e2a15d4cf5c498188144
--- qemu-option.c +++ qemu-option.c @@ -378,6 +378,7 @@ QEMUOptionParameter *append_option_parameters(QEMUOptionParameter *dest, num_options += count_option_parameters(list); dest = qemu_realloc(dest, (num_options + 1) * sizeof(QEMUOptionParameter)); + dest[num_dest_options].name = NULL; while (li...
qemu-option: Fix uninitialized value in append_option_parameter
stoth68000___media-tree_89c30f161cd03d9baa4c88105b0449ce7025d713
--- drivers/block/xen-blkfront.c +++ drivers/block/xen-blkfront.c @@ -854,9 +854,8 @@ static int setup_blkring(struct xenbus_device *dev, if (err) goto fail; - err = bind_evtchn_to_irqhandler(info->evtchn, - blkif_interrupt, - IRQF_SAMPLE_RANDOM, "blkif", info); + err = bind_evtchn_to_irqhandler(info->ev...
xen-blkfront: remove IRQF_SAMPLE_RANDOM which is now a no-op
ext4: fake direct I/O mode for data=journal ext4: Use bitops to read/modify EXT4_I(inode)->i_state Update ext4 MAINTAINERS file ext4: Fix spelling typo in the trace format for trace_ext4_da_writepages() ext4: add check for wraparound in ext4_data_block_valid() ext4: EXT4_IOC_MOVE_EXT: Check for different original and d...
[IRDA]: fix 16/32 bit confusion [ALSA] hda-intel - Fix NULL dereference in resume usb: host: ehci-omap: fix .remove and failure handling path of .probe(v1) [ALSA] cmipci: fix FLINKON/OFF bits orinoco: fix TKIP countermeasure behaviour powerpc/pmac: Add missing unlocks in error path cyclone.c: silly use of volatile, __i...
php___php-src_ae74549239f80ef40e978942b71c08a7e8a09a23
--- ext/standard/info.c +++ ext/standard/info.c @@ -600,6 +600,14 @@ PHPAPI char *php_get_uname(char mode) php_get_windows_cpu(wincpu, sizeof(wincpu)); dwBuild = (DWORD)(HIWORD(dwVersion)); + + /* Windows "version" 6.2 could be Windows 8/Windows Server 2012, but also Windows 8.1/Windows Server 2012 R2 */ + ...
backport the fix for bug
use a portable strndup implementation more fixes for ext/mysql simplify the metadata part add missing header fixed sapi filter usage fix c89 compat added testcase from bug #65371 fix C89 compat bigger memory_limit should work now on 64 bit windows fix type for op num
Fixed a little typo. No germany.. removed now obsolete NetWare hack since I fixed this - added error cheking and abort when no script install dir is set - Fix bug #3073. continue in do..while() loops should work now Fix tests. Add missing SKIPIF sections so test do not run when POSIX extension not available. - rename t...
openbsd___src_011fd0ad8a4341221eb516d17535750b7a73556a
--- usr.bin/rcs/rlog.c +++ usr.bin/rcs/rlog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rlog.c,v 1.42 2006/04/14 15:02:15 ray Exp $ */ +/* $OpenBSD: rlog.c,v 1.43 2006/04/14 15:04:36 ray Exp $ */ /* * Copyright (c) 2005 Joris Vink <joris@openbsd.org> * Copyright (c) 2005, 2006 Xavier Santolaria <xsa@openbsd.org> @@ -30,7 +30,...
Remove extraneous argument from rlog_file().
Finally. Basically, rcs_parse_delta() doesn't understand that KNF, no binary change. *** empty log message *** Remove extraneous cast to malloc call in fgetln example. Simplify cgetnext(3) by using strcspn(3). Add rcs -l, rcs -u, and regression tests. Regression test for truncated file. Plug memory leak when nitems ==...
A few more register prefixes, as well as more tab vs space police. No error in system(3) man page from John Kohl update to zlib-1.21 (we already have the CAN-2004-0797 security fixes) - auth+enc sorta works: fixup all of the offsets for encryption/authentication fix compiling in audio-less configs iprint is used withou...
mjg59___linux_75967b788c2898601620ce91ed14b4a9a371b6fe
--- drivers/dma/pl330.c +++ drivers/dma/pl330.c @@ -2259,7 +2259,17 @@ pl330_tx_status(struct dma_chan *chan, dma_cookie_t cookie, transferred = 0; residual += desc->bytes_requested - transferred; if (desc->txd.cookie == cookie) { - ret = desc->status; + switch (desc->status) { + case DONE: + ret = D...
dmaengine: pl330: fix return status on pending transfers
ffmpeg___ffmpeg_b2c2589ecf87e6d42d4134e726552a35b2820e09
--- libavformat/westwood_vqa.c +++ libavformat/westwood_vqa.c @@ -233,7 +233,8 @@ static int wsvqa_read_packet(AVFormatContext *s, switch (chunk_type) { case SND1_TAG: /* unpacked size is stored in header */ - pkt->duration = AV_RL16(pkt->data) /...
westwood_vqa: fix null pointer dereference
Vorbis sse fix by (Balatoni Denes: dbalatoni, programozo hu) dont ignore MAX_READ_SIZE Clarify whitespace nitpicks in patcheck. -sws 6 (luma bicubic & chroma bilinear) Get rid of a fake timestamp discontinuity at the begin of V.VOB. limit x/ymin/max to me_range Use table to speedup access to non_zero_count in MBAFF wit...
lavd/dshow: fix make checkheaders. mlp: Fix compilation under CONFIG_AUDIO_NONSHORT. cosmetics: Fix indentation after last commit. x86_64 + PIC fix by (Jacob Meuser: jakemsr, jakemsr com) cmdutils: fix options starting with 'no'. add libavutil.pc + fix version in pkg-config files patch by (j, v2v cc) Actually return wi...
mjg59___linux_f8c11b2b36a7a0f14ac98c4ca599151e1a720132
--- arch/arm/mach-imx/mach-imx6q.c +++ arch/arm/mach-imx/mach-imx6q.c @@ -73,7 +73,7 @@ static int imx6q_revision(void) } } -void imx6q_restart(char mode, const char *cmd) +static void imx6q_restart(char mode, const char *cmd) { struct device_node *np; void __iomem *wdog_base; @@ -256,7 +256,7 @@ put_node: ...
ARM: mach-imx: mach-imx6q: Fix sparse warnings
ffmpeg___ffmpeg_39bbdebb1ed8eb9c9b0cd6db85afde6ba89d86e4
--- libavcodec/sanm.c +++ libavcodec/sanm.c @@ -457,6 +457,7 @@ static void destroy_buffers(SANMVideoContext *ctx) ctx->frm0_size = ctx->frm1_size = ctx->frm2_size = 0; + init_sizes(ctx, 0, 0); } static av_cold int init_buffers(SANMVideoContext *ctx)
avcodec/sanm: Reset sizes in destroy_buffers()
libavfilter: export ff_default_query_formats() faster C linear blend & interpolate deinterlacers ffmpeg_filter: Fix non jpeg yuv in jpeg support avutil/avstring: fix hardcoded separator in av_match_list() hdsenc: Fix an off by one error in an array size check dsputil: fixup half a dozen bugs with ptrdiff vs int linesiz...
Fix incorrect max_lowres values avcodec: fix some const warnings libx264: fix help text for slice-max-size option. avcodec/x86/hevcdsp_init: fix build on 32bit graphparser: Check av_get_token() memory error lavf/riff: Fix a comment. h264_parser: Fix POC parsing for the case where MMCO_RESET is absent. h263dec: Remove b...
jabberd2___jabberd2_9d1b7a1a83347c8c5670b3dc7bef490cf9f7529a
--- storage/storage_mysql.c +++ storage/storage_mysql.c @@ -623,6 +623,8 @@ DLLEXPORT st_ret_t st_init(st_driver_t drv) { mysql_options(conn, MYSQL_READ_DEFAULT_GROUP, "jabberd"); #endif + mysql_options(conn, MYSQL_SET_CHARSET_NAME, "utf8"); + /* connect with CLIENT_INTERACTIVE to get a (possibly) highe...
Changed the way UTF-8 is selected on MySQL connection. Fixes
Using OpenSSL SHA1() implementation when available Added TLS indicator for c2s and s2s logs Merged MySQL connection setting to UTF-8 patch by Oles Hnatkevych. Fixes #90 Fixes #138 - null nad after disconnect Implemented /webstatus service Finished implementing XEP-0191: Simple Communications Blocking more presence/subs...
unterminated string error fixed Merged XEP-0012 fix by Simon Wilkinson. Fixes #91 fixed SEGV in sasl negotiation Fixed module loading path. Closes #62 Merged MySQL connection setting to UTF-8 patch by Oles Hnatkevych. Fixes #90 Integrated mysql_buffer_size_fixes by Mark Doliner. Closes #2. Keeping garbage out of LIBS v...
stoth68000___media-tree_ef8bbdfe7e12dc9b4e80756f6d606c4639c65851
--- fs/btrfs/extent-tree.c +++ fs/btrfs/extent-tree.c @@ -66,7 +66,7 @@ static int cache_block_group(struct btrfs_root *root, struct btrfs_block_group_cache *block_group) { struct btrfs_path *path; - int ret; + int ret = 0; struct btrfs_key key; struct extent_buffer *leaf; struct extent_io_tree *free_...
Btrfs: fix cache_block_group error handling
ext4: check return of ext4_orphan_get properly Btrfs: Add ACL support ext4: don't try to resize if there are no reserved gdt blocks left Btrfs: Remove unused xattr code Btrfs: xattr fixes xattr support for btrfs [GFS2] fix GFP_KERNEL misuses Btrfs: Implement new dir index format ext4: fix mount option parsing jbd2: fi...
VFS: fix unused variable warning Documentation: Fix erroneous "dmascc=" documentation cpm_uart: Fix cpm uart corruption with PREEMPT_RT [PATCH] eCryptfs: no path_release() after path_lookup() error sky2: ethtool speed report bug [TCP]: Fix NewReno's fast rexmit/recovery problems with GSOed skb [POWERPC] Fix mem= handli...
mjg59___linux_ef934e89f5e68535c447789b74de42cf389e55de
--- drivers/net/can/cc770/cc770.c +++ drivers/net/can/cc770/cc770.c @@ -504,10 +504,10 @@ static void cc770_rx(struct net_device *dev, unsigned int mo, u8 ctrl1) for (i = 0; i < cf->can_dlc; i++) cf->data[i] = cc770_read_reg(priv, msgobj[mo].data[i]); } - netif_rx(skb); stats->rx_packets++; stats->rx_byt...
can: cc770: don't touch skb after netif_rx()
stoth68000___media-tree_f3181a10e13ac55e18958d7c48cba6f925c71483
--- drivers/infiniband/hw/nes/nes_utils.c +++ drivers/infiniband/hw/nes/nes_utils.c @@ -540,11 +540,14 @@ struct nes_cqp_request *nes_get_cqp_request(struct nes_device *nesdev) if (!list_empty(&nesdev->cqp_avail_reqs)) { spin_lock_irqsave(&nesdev->cqp.lock, flags); - cqp_request = list_entry(nesdev->cqp_avail_r...
RDMA/nes: Check cqp_avail_reqs is empty after locking the list
RDMA/nes: Cleanup cqp_request list usage RDMA/nes: Lock down connected_nodes list while processing it RDMA/nes: Avoid race between MPA request and reset event to rdma_cm RDMA/nes: Forward packets for a new connection with stale APBVT entry RDMA/nes: Fix TCP compliance test failures
SUNPRC: Fix printk format warning [watchdog] hpwdt: fix use of inline assembly [ALSA] hda-codec - Fix mute switch on VAIO laptops with STAC7661 [PATCH] powerpc: More serial probe fixes (#2) qla3xxx: Cleanup: Fix link print statements. UBI: fix overflow bug [MTD] Fix thinko in nand_write_page_hwecc() V4L/DVB (4428): Fix...
libav___libav_0ca4414d0f3eeb39bbad504eaaae76d40b7189cc
--- libavformat/au.c +++ libavformat/au.c @@ -145,6 +145,11 @@ static int au_read_header(AVFormatContext *s) return AVERROR_INVALIDDATA; } + if (channels == 0 || channels > 64) { + av_log(s, AV_LOG_ERROR, "Invalid number of channels %d\n", channels); + return AVERROR_INVALIDDATA; + }...
audemux: Add a sanity check for the number of channels
keszybz___systemd_da770c386f8cc6efd3430ebab4e0707a4bb06c16
--- src/login/logind-seat.c +++ src/login/logind-seat.c @@ -505,7 +505,7 @@ void seat_claim_position(Seat *s, Session *session, unsigned int pos) { seat_evict_position(s, session); session->position = pos; - if (pos > 0 && !s->positions[pos]) + if (pos > 0) s->position...
logind: prefer new sessions over older ones on VT switches
util: add alloca_align() login: rename session_mute_vt() to session_prepare_vt() localed: verify xkb keymaps after pk-queries logind: hide 'self' links if not available bus-proxy: print message direction in policy logs bus: sync kdbus.h (ABI break!) hwdb: FOREACH_HWDB_PROPERTY -> SD_HWDB_FOREACH_PROPERTY TODO: drop jou...
man: overwrite vs. override udev: cdrom_id, accelerometer - enable debug output for --debug Fix wlan key on Inspirion 1210 dbus: fix return value of dispatch_rqueue() systemctl: unit_find_paths(): unify error handling in two code pathes Fix problem with allocating large buffers and log leftovers units: fix socket files...
illumos___illumos-gate_e71c81d1003489d75b970c7d0a3a33772608b3ab
--- usr/src/cmd/mdb/common/modules/pmcs/pmcs.c +++ usr/src/cmd/mdb/common/modules/pmcs/pmcs.c @@ -2109,6 +2109,14 @@ pmcs_next_sibling(pmcs_phy_t *phyp) break; } + /* + * If this PHY's sibling is NULL and it's a root phy, + * we're done. + */ + if (parent.level == 0) { + return (NULL); + } + phyp...
6925533 coredump in pmcs phy_walk_s() mdb walker
6888439 cable pull under heavy IOPS results panics in pmcs_SAS_done() 6891694 SUNWpmcsu has inconsistent pkg metadata 6897780 assertion failed: !list_link_active(&phyp->list_node), file: ...pmcs_subr.c, line: 7363 6904522 assertion failed: pptr->subsidiary, pmcs_subr.c, line: 2112 6898573 Watch dog support for PMCS 692...
6445267 wx should cross-check delta comments with bug database 6216663 rmformat uses privileges badly (fix build) 6840264 "fwflash -f file -d hermon_device" has ld.so.1 reported errors after CR 6808773 6870146 Intel IOMMU has device tree bug that can cause panics 6179693 libscf has erroneous comments 6577647 NFS writes...
stoth68000___media-tree_7f0ee9a69ef207ba0a0bd381620eb89bd92d9fe5
--- drivers/staging/wilc1000/host_interface.c +++ drivers/staging/wilc1000/host_interface.c @@ -496,14 +496,14 @@ static s32 Handle_SetMacAddress(struct host_if_drv *hif_drv, } static s32 Handle_GetMacAddress(struct host_if_drv *hif_drv, - struct get_mac_addr *pstrHostIfGetMacAddress) + struct get_mac_addr *g...
staging: wilc1000: rename pstrHostIfGetMacAddress of fuction Handle_GetMacAddress
staging: wilc1000: remove unused PLAT_RK3026_TCHIP staging: wilc1000: remove the macro WILC_ERRORCHECK staging: wilc1000: wilc_wlan_if.h: remove warnings on the multiple blank lines staging: wilc1000: wilc_wfi_cfgoperations.c : remove unused functions staging: wilc1000: rename pVoid of struct remain_ch staging: wilc100...
net: Fix IXP 2000 network driver building. gianfar: Fix build with CONFIG_NET_POLL_CONTROLLER=y ARM: OMAP: Fix gpio by switching to generic gpio calls, v2 Docs: Add a tips section to REPORTING-BUGS. firewire: core: fix topology map response handler firewire: ohci: fix VIA VT6306 video reception ACPI: Make ACPI interrup...
stoth68000___media-tree_73f35c60d5c4a98061fc0f94505bf26fd4bb1a1c
--- drivers/usb/host/ehci-dbg.c +++ drivers/usb/host/ehci-dbg.c @@ -879,7 +879,7 @@ static int fill_buffer(struct debug_buffer *buf) int ret = 0; if (!buf->output_buf) - buf->output_buf = (char *)vmalloc(buf->alloc_size); + buf->output_buf = vmalloc(buf->alloc_size); if (!buf->output_buf) { ret = -ENOMEM...
USB: Remove unnecessary casts of void ptr returning alloc function return values
powerpc/iseries: Remove unused mf_getSrcHistory function and caller. gen_init_cpio: remove redundant empty line staging, keucr: Remove unnecessary casts of void ptr returning alloc function return values powerpc/cell: Use vzalloc rather than vmalloc and memset in spu_alloc_lscsa_std x86, apic: Remove double #include Cl...
[SPARC64]: Fix several bugs in flush_ptrace_access(). [PATCH] fuse: fix spurious BUG whitespace fixes: capability syscalls [POWERPC] iSeries: Unindent and clean iSeries_pci_final_fixup V4L/DVB (9478): Fix: parameters not supplied in the search process ALSA: ASoC: Replace custom debug macros with pr_ equivalents m68k: F...
mjg59___linux_06579dd9c12f36ac575460a226d2020d84a0128b
--- arch/powerpc/kvm/emulate.c +++ arch/powerpc/kvm/emulate.c @@ -188,6 +188,8 @@ int kvmppc_emulate_instruction(struct kvm_run *run, struct kvm_vcpu *vcpu) vcpu->arch.gpr[rt] = vcpu->arch.srr1; break; case SPRN_PVR: vcpu->arch.gpr[rt] = mfspr(SPRN_PVR); break; + case SPRN_PIR: + vcpu->arch.gpr[rt] =...
KVM: ppc: e500: Add MMUCFG and PVR emulation
ffmpeg___ffmpeg_fc5c49ab3247533e0a5cb203cf7122143389eb5c
--- libavcodec/mpeg4videodec.c +++ libavcodec/mpeg4videodec.c @@ -160,7 +160,7 @@ static inline int mpeg4_is_resync(MpegEncContext *s){ return 0; } -static void mpeg4_decode_sprite_trajectory(MpegEncContext * s, GetBitContext *gb) +static int mpeg4_decode_sprite_trajectory(MpegEncContext * s, GetBitContext *gb)...
mpeg4videodec: Fix division by zero in mpeg4_decode_sprite_trajectory()
try to fill in missing bits_per_sample motion_est: avoid generating motion vectors that point between widthxheight and mb_widthxmb_height. Move extradata reading code into codec init instead of doing it negative linesize support (so mplayer -flip works) fixing concealment MVs prediction ffmpeg: make copy_tb tri state s...
j2kdec: fix a bunch of const compiler warnings. Error out when too many bits per frame are requested. Fix compilation on powerpc with --disable-altivec. Correctly decode some Avid AV1x samples, fixes issue 1684. Fix swscale compilation with Altivec enabled. Fix ALLPROGS_G so that *_g binaries get cleaned properly Fix p...
torvalds___linux_b110547e586eb5825bc1d04aa9147bff83b57672
--- arch/arm/mach-omap2/opp.c +++ arch/arm/mach-omap2/opp.c @@ -53,7 +53,7 @@ int __init omap_init_opp_table(struct omap_opp_def *opp_def, omap_table_init = 1; /* Lets now register with OPP library */ - for (i = 0; i < opp_def_size; i++) { + for (i = 0; i < opp_def_size; i++, opp_def++) { struct omap_hwmod *oh...
ARM: OMAP2+: OPP: Fix to ensure check of right oppdef after bad one
krb5___krb5_3612c19761d17f622249445208a1bed8906ce192
--- src/slave/kpropd.c +++ src/slave/kpropd.c @@ -279,7 +279,7 @@ void doit(fd) exit(1); } omask = umask(077); - lock_fd = fopen(temp_file_name, O_RDONLY); + lock_fd = open(temp_file_name, O_RDONLY, 0600); (void) umask(omask); retval = krb5_lock_file(kpropd_context, lock_fd, KRB5_LOCKMODE_EXCLUSIVE|KRB...
Change fopen() to open() to yield an fd
Multiple realm support Describe previous changes Fix various memory allocation and key/salt tuple related bugs Make sure unfilled data in krb5_key_data is zero in decode_princ_contents Add verifier procedure/dispatch Change howmany because of Ultrix Add stash file parameter to krb5_db_fetch_mkey() Use sigjmp_buf under ...
Modifications to klist to prevent an expect bug for hanging tests. fix TGS /KDC req stuff Fixes so that the Unix changes no longer breaks on the PC Fix install logic for krb5.h and k5-int.h Free keyblock on error error.c (ss_error): remove const declaration from local variable. (it is * configure.in: fix typo; appended...
schedmd___slurm_295b09e4e64e73dd2454b591771ecc24a761545d
--- src/common/slurm_protocol_defs.c +++ src/common/slurm_protocol_defs.c @@ -3431,6 +3431,9 @@ extern int slurm_free_msg_data(slurm_msg_type_t type, void *data) case RESPONSE_BURST_BUFFER_INFO: slurm_free_burst_buffer_info_msg(data); break; + case MESSAGE_COMPOSITE: + slurm_free_composite_msg(data); + break;...
Fix unhandled free
complete rewrite of hdf5 code. There is most likely more to be done. Make jobacct_gather/cgroup work correctly and also make all jobacct_gather Fix for memory issue inside sview. Fix missing comma make it so the cray switch plugin compiles NRT - Flush out handling devices/protocols/modes Test does work with poe ;) BGQ...
fix for not having php to build rpms fixed issue with reattaching double allocating step_layout-tids Fix typo in comment BLUEGENE - fixes to handle conn_type correctly with new code on a L/P A couple of bug fixes to get node registration to work Port 0.3.8 bug fixes to 0.4: fix processing of job name with " (wckey deli...
ffmpeg___ffmpeg_386741f887714d3e46c9e8fe577e326a7964037b
--- libavcodec/kmvc.c +++ libavcodec/kmvc.c @@ -33,6 +33,7 @@ #define KMVC_KEYFRAME 0x80 #define KMVC_PALETTE 0x40 #define KMVC_METHOD 0x0F +#define MAX_PALSIZE 256 /* * Decoder context @@ -43,7 +44,7 @@ typedef struct KmvcContext { int setpal; int palsize; - uint32_t pal[256]; + uint32_t...
kmvc: Check palsize.
mov: Prevent illegal writes when chapter titles are very short. MOV: fix crash when 'meta' occurs before first 'trak' aacsbr: Move the e_a calculation from sbr_mapping() to read_sbr_grid(). Add USAC and SAOC AOTs to the AudioObjectType enum. aac: Only output configure if audio was found. aacenc: Replace cbrt() with cbr...
Fix and enable horizontal >=SSE2 mbedge loopfilter. Warning and compatibility fixes. cosmetics: indentation and other prettyprinting fixes Fix typos in ref_index documentation. ARM: 1l c&p fix: do not set pred16x16_plane for rv40 Fix memleak when using mp*float decoder. http: Print an error message for Authorization Re...
torvalds___linux_6b8d9117ccb4f81b1244aafa7bc70ef8fa45fc49
--- net/llc/sysctl_net_llc.c +++ net/llc/sysctl_net_llc.c @@ -18,28 +18,28 @@ static struct ctl_table llc2_timeout_table[] = { { .procname = "ack", .data = &sysctl_llc2_ack_timeout, - .maxlen = sizeof(long), + .maxlen = sizeof(sysctl_llc2_ack_timeout), .mode = 0644, .proc_handler = proc_dointvec_j...
net: llc: use correct size for sysctl timeout entries
torvalds___linux_11e31647c9263185cfd990db656dbb7f06697faf
--- fs/cifs/connect.c +++ fs/cifs/connect.c @@ -1196,8 +1196,12 @@ cifs_parse_devname(const char *devname, struct smb_vol *vol) convert_delimiter(vol->UNC, '\\'); - /* If pos is NULL, or is a bogus trailing delimiter then no prepath */ - if (!*pos++ || !*pos) + /* skip any delimiter */ + if (*pos == '/' || *pos =...
cifs: remove any preceding delimiter from prefix_path
libgit2___libgit2_69dca959508cd04b226b3747c0c07f89f3bd1a87
--- src/commit.c +++ src/commit.c @@ -132,12 +132,19 @@ int git_commit__parse_time(time_t *commit_time, char *buffer, const char *buffer if (memcmp(buffer, "committer ", 10) != 0) return -1; - buffer = memchr(buffer, '\n', buffer_end - buffer); + buffer = memchr(buffer, '>', buffer_end - buffer); ...
Fixed parsing commit times (they weren't being stored at all!)
Add arbritrary ordering revision walking. Add commit caching on the commit table. Updated t0401 (commit parsing) to reflect the new API changes. Add basic functionality for commit lookup/parsing Added sort method for commit lists. Add unit tests for Commit parsing Changed 'git_commit_list' from a linked list to a doubl...
Fix GIT_EXTERN to actually mark the prototype as extern MSVC: Fix a syntax error caused by an inline function definition Fix some coding style issues Fix Makefile to correctly handle 'make -j4 test' Fix a bug in gitfo_read_file() msvc: Fix some -W4 warnings Fixed linked list tail being lost when sorting. Fixed indentat...
libav___libav_c792037176568a9ea60161acde3b681509e9ce8a
--- libswscale/swscale.c +++ libswscale/swscale.c @@ -224,6 +224,7 @@ static const int fmt_name[PIX_FMT_NB] = { [PIX_FMT_RGB565] = IMGFMT_RGB16, ///< always stored in cpu endianness [PIX_FMT_RGB555] = IMGFMT_RGB15, ///< always stored in cpu endianness, most significant bit to 1 [PIX_FMT_UYVY422] ...
Another PIX_FMT_ ---> IMGFMT_ conversion
mjg59___linux_2b1181ed83ee8b0afbf9ba3e4f789f00375b2a17
--- sound/core/control_compat.c +++ sound/core/control_compat.c @@ -407,6 +407,10 @@ static inline long snd_ctl_ioctl_compat(struct file *file, unsigned int cmd, uns case SNDRV_CTL_IOCTL_POWER_STATE: case SNDRV_CTL_IOCTL_ELEM_LOCK: case SNDRV_CTL_IOCTL_ELEM_UNLOCK: + case SNDRV_CTL_IOCTL_ELEM_REMOVE: + case SNDRV...
[ALSA] Add missing compat ioctls for ALSA control API
android___platform_bionic_ae0f8f1e48a464b227fc3b68e0817a246e73db9b
--- libc/include/sys/ucontext.h +++ libc/include/sys/ucontext.h @@ -198,6 +198,7 @@ typedef struct ucontext { stack_t uc_stack; mcontext_t uc_mcontext; sigset_t uc_sigmask; + char __padding[128 - sizeof(sigset_t)]; } ucontext_t; #elif defined(__mips64__)
Add padding to mips ucontext_t.
Reserve space in mbstate to allow for proper wchar support Fill in missing bits in x86(_64) ucontext_t Removed non-existing include dir Moved private dns header to their own dir. Update the NOTICE files Remove ALIGNBYTES and ALIGN from <sys/param.h> Changed long double literal suffix from 'l' to 'L'. Reserve space in p...
Small accept4 fixes. Fix 32-bit issues in tests, and add a trivial test for the FD_* macros. sysconf(): Fix line parser for /proc files. [MIPS] Check error status from pipe system call bionic: fix deleting property arrays in property benchmark am ab8b5410: libc: fix fstatfs() implementation. am a798b9f0: Backport (simp...
heimdal___heimdal_6dd7ff76fb802391266d7b5464e7711f85aabeae
--- lib/krb5/store_emem.c +++ lib/krb5/store_emem.c @@ -24,9 +24,8 @@ static size_t emem_store(krb5_storage *sp, void *data, size_t size) { emem_storage *s = (emem_storage*)sp->data; - size_t sz = size - (s->base + s->size - s->ptr); - if(sz > 0){ - s->size = 2 * (s->size + sz); + if(size > s->base + s-...
Fix some bugs.
Make keyblock const. Change HAVE_UTMPX_H to HAVE_UTMPX Add library for getpwnam_r and libc when linking. Removed unused MAXPATHLEN definition. *** empty log message *** Split of store.c Moved to krb5.h Moved krb5_get_salt to str2key.c. Removed unused envp from main() Read correct length.
Fixed a potential overwrite bug. Also works with more than one screen, Fix for SysV Try strerror if error code wasn't found. Added const to hstrerror. Include <des.h> and <krb5_err.h>. Given better error message when user is not authoized to login. (mini_inetd): Also dup onto stderr. Fix some warnings. Fix for IRIX 4 c...
ffmpeg___ffmpeg_27216bf314c62125c408be1a5a79e5c9dba88e76
--- libavcodec/libtheoraenc.c +++ libavcodec/libtheoraenc.c @@ -131,6 +131,10 @@ static int submit_stats(AVCodecContext *avctx) } h->stats_size = strlen(avctx->stats_in) * 3/4; h->stats = av_malloc(h->stats_size); + if (!h->stats) { + h->stats_size = 0; + ret...
avcodec/libtheoraenc: Check for stats allocation failure
avcodec/h264: simplify find_start_code() avcodec/hevc_filter: assert validity of qp predictor input ffmpeg: fix memleak adding a \ so we can add more lines without having to do a "cosmetic" change in the previous line set flags correctly in write header instead of seeking back and fixing it in write_trailer() avcodec/l...
gsmdec: log error message when output buffer is too small. swr-test: fix rounding error leading to NAN build: fixes a "can't cd to..." issue when installing shared libraries. ffmpeg: Fix division by 0 due to invalid timebase cyuv: return meaningful error codes. swr: fix mix* related function pointer warnings wmalossles...
qemu___qemu_1753f3dc177a82f8b3c5ea8d2a32737db9411dd4
--- hw/block/nvme.c +++ hw/block/nvme.c @@ -201,10 +201,11 @@ static void nvme_rw_cb(void *opaque, int ret) NvmeCtrl *n = sq->ctrl; NvmeCQueue *cq = n->cq[sq->cqid]; - block_acct_done(blk_get_stats(n->conf.blk), &req->acct); if (!ret) { + block_acct_done(blk_get_stats(n->conf.blk), &req->acct...
nvme: Account for failed and invalid operations
ffmpeg___ffmpeg_2efd01a32f0cc7849794f7a866fddf3991b5f5ce
--- ffplay.c +++ ffplay.c @@ -2669,8 +2669,13 @@ static int read_thread(void *arg) packet_queue_flush(&is->videoq); packet_queue_put(&is->videoq, &flush_pkt); } + if (is->seek_flags & AVSEEK_FLAG_BYTE) { + //FIXME: use a cleaner...
ffplay: fix updating external clock after seeking
ffplay: flush codec buffers before freeing filters ffplay: remove global video state ffplay: use libswresample instead of av_audio_convert ffplay: fix return value of get_video_frame if avcodec_decode_video fails ffplay: if there is no audio stream, use external clock by default ffplay: get rid of the global cur_stream...
Add --malloc-prefix to apply a prefix to malloc, free etc disabled aspect code due to it is extra buggy Fix a typo that causes an assertion to always fail. ffmpeg_filter: fix unsafe snprintf() usage exr: fix scan_line_size calculation Fix some loop conditions to prevent overreads dsputil: Add ff_ prefix to inv_zigzag_d...
torvalds___linux_04aa4438c01938df30ffe26f72cef0cbd0a34f6e
--- drivers/mfd/twl4030-irq.c +++ drivers/mfd/twl4030-irq.c @@ -297,7 +297,7 @@ static irqreturn_t handle_twl4030_pih(int irq, void *devid) ret = twl_i2c_read_u8(TWL_MODULE_PIH, &pih_isr, REG_PIH_ISR_P1); if (ret) { - pr_warning("twl4030: I2C error %d reading PIH ISR\n", ret); + pr_warn("twl4030: I2C er...
mfd: twl4030-irq: Fix style warnings relating to pr_warn() and sizeof()
radare___radare2_ca797d62fdc02788f3d9802592d7d287ca139e07
--- libr/core/cmd_debug.c +++ libr/core/cmd_debug.c @@ -721,7 +721,7 @@ free (rf); if (r_debug_reg_sync (core->dbg, R_REG_TYPE_GPR, R_FALSE)) r_debug_reg_list (core->dbg, R_REG_TYPE_GPR, bits, '*', use_color); break; - case 'r': + case 'r': // "drr" { int bits = core->assembler->bits; RList *list = r...
Show only regs with size = asm.bits in drr
torproject___tor_c60148c7f52e76397b79faaddf1bdb6204c4d170
--- src/or/rendservice.c +++ src/or/rendservice.c @@ -554,6 +554,13 @@ rend_service_update_descriptor(rend_service_t *service) if (intro_svc->intro_key) intro_desc->intro_key = crypto_pk_dup_key(intro_svc->intro_key); smartlist_add(d->intro_nodes, intro_desc); + + if (intro_svc->time_published == -1...
Record the time at which each intro point was first published
Clear last_hid_serv_requests on SIGNAL NEWNYM Fix handling of ISO_STREAM Disable logging to control port connections in buf_shrink_freelists. Put hashes of all tor source files into or_sha1.i Fix comment typo Remove some unnecessary occurrences of +1. Move the original log_info call out of the core of buf_shrink_freeli...
Fix compilation with mingw and OpenSSL 0.9.8m+ bandaid for bug 299. this is still a bug, since we don't Finally solve the "closing wedged cpuworkers" bug. Woo. Fix a bug where we'd sometimes run off the end of an array while Add changelog to describe coverity fixes for 0.2.1.21 plus add a comment re: the previous bug T...
qemu___qemu_3ba235a02284c39b34a68a2a588508ffb52a7b55
--- async.c +++ async.c @@ -44,7 +44,7 @@ struct QEMUBH { QEMUBH *aio_bh_new(AioContext *ctx, QEMUBHFunc *cb, void *opaque) { QEMUBH *bh; - bh = g_malloc0(sizeof(QEMUBH)); + bh = g_new0(QEMUBH, 1); bh->ctx = ctx; bh->cb = cb; bh->opaque = opaque; --- aio-posix.c +++ aio-posix.c @@ -73,7 +73...
block: Use g_new0() for a bit of extra type checking
ffmpeg___ffmpeg_4b96f43fe169bb29a9b45cbb116cd8a81cebfebe
--- libavcodec/xan.c +++ libavcodec/xan.c @@ -140,12 +140,12 @@ static void xan_unpack(unsigned char *dest, const unsigned char *src, int dest_l offset = *src++; size = opcode & 3; - if (dest + size > dest_end) + if (size > dest_end - dest) return; ...
Change buffer size checks to avoid the very unlikely overflow case.
Add av_ prefix to LZO stuff and thus make it officially part of the public API. 10l, fix nuv_header for the case when there is no video stream. 100l, wrong argument to av_freep Add two extra needed bounds checks Change MS ADPCM table so they fit into int8_t and change array type. Use DECLARE_ALIGNED for alignment in li...
configure: fix return value from check_header fixing demuxing for short files where the framerate detection failed fix edts for tracks without b frames Fix non-Doxygen comment. Fix the PIX_FMT_* ---> IMGFMT_* conversion (PIX_FMT_RGB32 is IMGFMT_BGR32) Fix compile error due to extra "FF" at beginning of file in the FF{M...
torvalds___linux_f7027c6387d0c3acf569845165ec7947e2083c82
--- Documentation/lguest/lguest.c +++ Documentation/lguest/lguest.c @@ -182,9 +182,10 @@ struct virtqueue /* Remember the arguments to the program so we can "reboot" */ static char **main_args; -/* Since guest is UP and we don't run at the same time, we don't need barriers. - * But I include them in the code in cas...
lguest: get more serious about wmb() in example Launcher code
ffmpeg___ffmpeg_08ccc474b73a3acef5e56060c8174d4e82ace20d
--- libavformat/rtmpproto.c +++ libavformat/rtmpproto.c @@ -2670,7 +2670,7 @@ reconnect: // audio or video packet arrives. while (!rt->has_audio && !rt->has_video && !rt->received_metadata) { if ((ret = get_packet(s, 0)) < 0) - return ret; + goto fail; ...
RTMP: fix FD leak in rtmp_open()
nan
lavfi: fix null checking in avfilter_config_links() Fix segfaults in VP8 SIMD code on Win64 (and FATE/win64 failures). handle AVERROR_IO and AVERROR_NOMEM patch by (Kostya <cannonball bw-team com>) vf_hue: fix AVOption defaults Fix previously broken x86_64 check, simplifying it in the process. j2k: drop disabled debug ...
torvalds___linux_569f3b3d4e9898ae30788fde128e3277d996710e
--- drivers/net/ethernet/intel/igb/igb_ptp.c +++ drivers/net/ethernet/intel/igb/igb_ptp.c @@ -525,7 +525,8 @@ static int igb_ptp_feature_enable_i210(struct ptp_clock_info *ptp, ts.tv_nsec = rq->perout.period.nsec; ns = timespec64_to_ns(&ts); ns = ns >> 1; - if (on && ns <= 70000000LL) { + if (on && ((ns <= 7...
igb: add conditions for I210 to generate periodic clock output
chromium___chromium_930a732317022195f6ec5674f89fa4de88e2b61e
--- content/common/sandbox_policy.cc +++ content/common/sandbox_policy.cc @@ -41,6 +41,7 @@ namespace { const wchar_t* const kTroublesomeDlls[] = { L"adialhk.dll", // Kaspersky Internet Security. L"acpiz.dll", // Unknown. + L"aswjsflt.dll", // Avast! AV L"avgr...
Block Avast! AV DLLs in sandboxed processes.
Add scroll and gesture message filters for UIPI Flash. Had a bug in the handle table unit test. Added GetHandleName to fix the bug and make handle management easier. Increase default delay for sandbox tests Disable handle closing code entirely in m14 as part of speculative renderer crash fixes. Warm up locale and KsecD...
wine_valgrind: Suppress net_unittests errors. Some of them only show up intermittently / are not reproducible locally. Fix in use update of SxS channel. Fix a couple of bugs with the image skia implementation Fix error introduced in r142770. <(PRODUCT_DIR) is an argument, not a dependency. Try to fix Windows build: add...
file___file_40bade80cbe2af1d0b2cd0420cebd5d5905a2382
--- src/cdf.c +++ src/cdf.c @@ -35,7 +35,7 @@ #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: cdf.c,v 1.59 2014/05/14 23:22:48 christos Exp $") +FILE_RCSID("@(#)$File: cdf.c,v 1.60 2014/05/21 13:04:38 christos Exp $") #endif #include <assert.h> @@ -455,7 +455,8 @@ size_t cdf_count_chain(const cdf_sat_t ...
Fix incorrect bounds check for sector count. (Francisco Alonso and Jan Kaluza
torvalds___linux_f30df435ac6136787e65646881e62f12df2d71f6
--- drivers/gpu/drm/radeon/kv_dpm.c +++ drivers/gpu/drm/radeon/kv_dpm.c @@ -1491,17 +1491,20 @@ void kv_dpm_powergate_uvd(struct radeon_device *rdev, bool gate) pi->uvd_power_gated = gate; if (gate) { - uvd_v1_0_stop(rdev); - cik_update_cg(rdev, RADEON_CG_BLOCK_UVD, false); + if (pi->caps_uvd_pg) { + uvd_v1_...
drm/radeon/dpm: only need to reprogram uvd if uvd pg is enabled
openbsd___src_b7f7f96ee483967329c01126a6ff7c2e8a91e001
--- sys/dev/acpi/acpithinkpad.c +++ sys/dev/acpi/acpithinkpad.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpithinkpad.c,v 1.37 2014/09/14 14:17:24 jsg Exp $ */ +/* $OpenBSD: acpithinkpad.c,v 1.38 2014/09/30 08:41:19 phessler Exp $ */ /* * Copyright (c) 2008 joshua stein <jcs@openbsd.org> * @@ -66,6 +66,11 @@ #define THINKPA...
prevent dmesg spam from some new windows-only keys found on very new
DUIDs are only valid when booting off of a disk, so make sure we are Use size_t for the length variable Add suspend/resume logic. -S (safe mode) would copy the file over, rename it to the target, then now that we are at -current again, re-enable POOL_DEBUG Unbreak the tree for gcc2 arches. Update to handle the default ...
fix sign-while-creating mode Fix -t mode; it needs to set decomp=1 too fix instances of cvs brain-damage. We want the current FSF version of Fix compiler warnings. change back to preferring kqueue, now that nicm, tedu and i have Move PSW in struct cpu_info. Also ensure that we leave interrupts disabled Fix IPv6 statefu...
ffmpeg___ffmpeg_79a0ec1af4817bb7b989803b9f460d1e4acaf7b7
--- libavfilter/formats.c +++ libavfilter/formats.c @@ -44,6 +44,8 @@ AVFilterFormats *avfilter_merge_formats(AVFilterFormats *a, AVFilterFormats *b) AVFilterFormats *ret; unsigned i, j, k = 0; + if (a == b) return a; + ret = av_mallocz(sizeof(AVFilterFormats)); /* merge list of formats */
lavfi: avfilter_merge_formats: handle case where inputs are same
lavfi: add earwax audio filter, ported from Sox lavfi: handle NULL lists in avfilter_make_format_list lavfi: use int64_t lists in AVFilteFormats
Fix two compiler arnings related to printf-format of sizeof()-statements. #error in case we do not know how to provide alignment. Fix 100L in r24689 Fix detected fps for old divx/xvid. * original fix still didn't align lines on s_align when CODEC_FLAG_EMU_EDGE Add version to AVClass so we can add to and use fields of A...
qemu___qemu_4e39f57c0010b689ffa15658ff063006b45309db
--- migration/qemu-file-unix.c +++ migration/qemu-file-unix.c @@ -72,7 +72,8 @@ static ssize_t socket_writev_buffer(void *opaque, struct iovec *iov, int iovcnt, pfd.fd = s->fd; pfd.events = G_IO_OUT | G_IO_ERR; pfd.revents = 0; - g_poll(&pfd, 1 /* 1 fd */, -1 /* no time...
migration: Clean up use of g_poll() in socket_writev_buffer()
qemu___qemu_8c12f1912afed98715d995cb7c72c8203aaced9d
--- hw/pci.c +++ hw/pci.c @@ -1922,6 +1922,8 @@ static int pci_add_option_rom(PCIDevice *pdev, bool is_default_rom) pci_patch_ids(pdev, ptr, size); } + qemu_put_ram_ptr(ptr); + pci_register_bar(pdev, PCI_ROM_SLOT, size, 0, pci_map_option_rom);
pci: Use of qemu_put_ram_ptr in pci_add_option_rom.
php___php-src_5b741dfb58e5f3908e6ce702ef073e01bf206eef
--- main/php_ini.h +++ main/php_ini.h @@ -23,6 +23,7 @@ int php_init_config(char *php_ini_path_override); int php_shutdown_config(void); +int php_startup_loaded_extensions(void); zval *cfg_get_entry(char *name, uint name_length); #define PHP_INI_USER ZEND_INI_USER --- main/php_ini.c +++ main/php_ini.c @@ -121,...
# make sebastian and compiler happy .)
look for apxs in /usr/sbin (that's where SUSE puts it) this change should solve all problems regarding trans_sid_id and one little unimportant detail (cut&paste is evil :) first step towards auto-generated credits added comments to the System/Distribution specific default added the other usefull constants besides M_PI ...
Fix regression in passing strings as parameters - Forgot to check for BP_VAR_IS in the fix made for Thies' string offset Fixing the use of mssql.textsize in pconnect() libtool check fix Import debug-level improvements to TSRM, by Dmitri Dmitrienko - fixed invalid class names This appears to be the correct fix to me. (_...
ffmpeg___ffmpeg_9ca16bdd3f0461b40d369080647747ae70715daf
--- libavcodec/lossless_audiodsp.c +++ libavcodec/lossless_audiodsp.c @@ -29,10 +29,12 @@ static int32_t scalarproduct_and_madd_int16_c(int16_t *v1, const int16_t *v2, { int res = 0; - while (order--) { + do { res += *v1 * *v2++; *v1++ += mul * *v3++; - } + res += *v1 * *v2...
lossless audio dsp: unroll
ac3_fixed: fix out-of-bound read tests: add a third, 34x34, target dcadsp: split lfe_dir cases dcadsp: add int8x8_fmul_int32 to DSP context ac3_fixed: fix computation of spx_noise_blend build: fix examples compilation when EXESUF is not empty hevc: wait proper position for tmvp h264_ps: move and export aspect_ratio ala...
ac3enc: Reshuffle some float/fixed-mode ifdefs to avoid a dummy function fix got_picture output mpc7: fix handling of last frame workaround old xvid bug Fix memleak caused by the fact that url_open_buf() allocates a context x86: avcodec: Drop silly "_mmx" suffixes from filenames libavformat/utils: Fix segfault on m4a c...
facebook___hhvm_d5a3cf9f0a3dad7b590779adc6cbff41e4893444
--- hphp/runtime/ext/gd/ext_gd.cpp +++ hphp/runtime/ext/gd/ext_gd.cpp @@ -5901,11 +5901,11 @@ static void* exif_ifd_make_value(image_info_data *info_data, data_ptr += 8; break; case TAG_FMT_SINGLE: - memmove(data_ptr, &info_data->value.f, byte_count); + memmove(data_ptr, &info_val...
Fix heap corruption in exif_ifd_make_value
Backport depth limit into ext_xml.cpp Backport depth limit into ext_xml.cpp Guard against integer overflows in various string functions. Guard against integer overflow on HHVM string functions Binary safety for ext_openssl ASN1 timestamp parsing Drop supplementary groups when changing to non-root Backport fix for CVE-2...
Don't use -Og for debug build, and add -ggdb [hotfix] fixed a crash with program shutdown token_* consistency: obvious fixes [Fix] Typehints not work with class constants fixed defined('SID') problems Remove base.h includes from runtime/, fix up indirect dependencies eval order bug fix IncRef Sinking fix fixed to respe...
libreswan___libreswan_793b346d86a03223e1289e5594616d8503553f4c
--- programs/pluto/connections.c +++ programs/pluto/connections.c @@ -2959,6 +2959,10 @@ show_connections_status(void) { count++; } + if(count == 0) + /* abort early to avoid a malloc(0) that uclibc does not like */ + return; + array = alloc_bytes(sizeof(struct connection *)*count, "connection arra...
Avoid malloc(0) by doing an early abort in show_connections_status() when
Fix ikev2-x509-01 to use new certs. If we have protostack=netkey, but we did not find a NETKEY presence, Added two comments. include linux/moduleparam.h on 2.4.x kernels. touch is not always in /usr/bin/ Ensure that we don't hit the wrong STATE_UNDEFINED state machine, when Only look for a bid down attack when we use P...
#835 - additional debugging of the proposal matching code added. canonicalization of debug output. turn off shell debugging in _updown.mast.in (set -x) more -Werror -Wshadow fixes that were recently introduced Added "," to wildcard print debug information to make it more readable. #835 - fixed padding of cleartext, and...
rawstudio___rawstudio_068b27cd8a399de30280888b5b2cd5b619b984a5
--- src/toolbox.c +++ src/toolbox.c @@ -210,7 +210,7 @@ GtkWidget * gui_make_scale_from_adj(RS_BLOB *rs, GCallback cb, GtkObject *adj, gint mask) { GtkWidget *hscale, *box, *rimage, *revent; - struct reset_carrier *rc = malloc(sizeof(struct reset_carrier)); + struct reset_carrier *rc = g_malloc(sizeof(struct reset_...
Changed a malloc to g_malloc
Reverted to 451 and changed header in all source files to a real GPL header added rs_settings_to_rs_settings_double() and rs_settings_double_to_rs_settings() Changed all DIRECTION/direction to ORIENTATION/orientation Fixed 2 minor bugs Changed the defaulting of gamma value. Added gui_menu_add_tobatch_queue_callback() a...
Fixed return type for rs_cache_save(). Fixed overflow in update_previewtable(). Fixed very stupid errors. Think I need some sleep, better stop coding now and continue tomorrow... Fixed a division by zero. added a scrollbar in the toolbox, a solution to bug #11 Fixed an other bug :) Now handles errors from dcraw_open()....
mjg59___linux_cf60191a2d527065348bb315b1d650a086dde94b
--- drivers/staging/brcm80211/brcmsmac/wlc_mac80211.c +++ drivers/staging/brcm80211/brcmsmac/wlc_mac80211.c @@ -5824,7 +5824,7 @@ wlc_d11hdrs_mac80211(struct wlc_info *wlc, struct ieee80211_hw *hw, /* add Broadcom tx descriptor header */ txh = (d11txh_t *) skb_push(p, D11_TXH_LEN); - memset((char *)txh, 0, D11_TX...
staging: brcm80211: remove unnecessary cast in wlc_d11hdrs_mac80211
mjg59___linux_493d35863dbb692c38c1415fd83d88dfb902ae37
--- kernel/mutex-debug.c +++ kernel/mutex-debug.c @@ -79,8 +79,8 @@ void debug_mutex_unlock(struct mutex *lock) if (unlikely(!debug_locks)) return; - DEBUG_LOCKS_WARN_ON(lock->owner != current_thread_info()); DEBUG_LOCKS_WARN_ON(lock->magic != lock); + DEBUG_LOCKS_WARN_ON(lock->owner != current_thread_info());...
mutex-debug: check mutex magic before owner
ffmpeg___ffmpeg_4843227b2ca6876d07caddddd62e58e52d67e94f
--- libavcodec/iff.c +++ libavcodec/iff.c @@ -488,12 +488,12 @@ static int decode_byterun(uint8_t *dst, int dst_size, unsigned length; const int8_t value = *buf++; if (value >= 0) { - length = value + 1; - memcpy(dst + x, buf, FFMIN3(length, dst_size - x, buf_end - buf))...
avcodec/iff: ensure that runs with insufficient input dont leave uninitialized bytes in the output
dead code removial libavfilter/formats.c: fix compile of test always handle negative timestamp differences as timestamp discontinuity avf_showwaves: fix null pointer dereference svq1dec: call avcodec_set_dimensions() after dimensions changed. configure: put pthread_create() check back Replace call to pred_motion() in d...
asfcrypt: fix unaligned read in ff_asfcrypt_dec() Changelog, spell out the CVEs that where fixed. lavfi/select: avoid double -> int lossy conversion in debug log fix rv20 b frames (broke since r5264 Mon Apr 3 07:52:24 2006 UTC 2x faster ff_mpeg4_set_direct_mv) xbmdec: fix off by one error in scanf() g729dec: Fix warnin...
torvalds___linux_2ebf09c2491433a499e0ae7723d04e9e810afa84
--- fs/jffs2/nodelist.c +++ fs/jffs2/nodelist.c @@ -1139,7 +1139,7 @@ int jffs2_scan_dirty_space(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb BUG(); } /* REF_EMPTY_NODE is !obsolete, so that works OK */ - if (ref_obsolete(jeb->last_node)) { + if (jeb->last_node && ref_obsolete(jeb->last_node)) { #ifdef...
[JFFS2] Fix oops when marking space dirty in scan, but no previous node exists.
mpv-player___mpv_a989f229c5027119f91e640c8b4d206e76edbee3
--- mplayer.c +++ mplayer.c @@ -820,6 +820,11 @@ static void print_status(float a_pos, float a_v, float corr) width = screen_width; else width = 80; +#ifdef WIN32 + // windows command line is broken (MinGW's rxvt works though, but we + // should not depend on that). + width--; +#endif line = malloc(wid...
fix scrolling status line in windows
use get_screen_size from getch2.c instead of ioctl, fixes bug #131. fix -loop in combination with -shuffle fixed small memleaks fix endian conversion for (curently unused) case where in buffer != out buffer fix examples for ao_alsa options dialog and add example for mixer index. support for passing mouse events on to M...
document new 2pass syntax, remove/fix lots of obsolete junk in docs fix playback of rgb files when overlay is not disabled uninit fix by Aurelien JACOBS <aurel at gnuage.org> clicks/noise at start fixed native libdv added, fourccs fixed/commented for qdv & mcdv fix for Xwid (exceed 16 fourcc) - It fixes a small bug whe...
ffmpeg___ffmpeg_c06e556274446a45efab34745c05049033389260
--- libavcodec/mpeg4videodec.c +++ libavcodec/mpeg4videodec.c @@ -1354,6 +1354,11 @@ static int mpeg4_decode_mb(MpegEncContext *s, int16_t block[6][64]) else s->mcsel = 0; cbpy = get_vlc2(&s->gb, ff_h263_cbpy_vlc.table, CBPY_VLC_BITS, 1) ^ 0x0F; + if (cbpy < 0) { + av_lo...
avcodec/mpeg4videodec: Check P cbpy
cmdutils: Use 64bit for file size/offset related variable in cmdutils_read_file() libavfilter: Add interlace detect filter. yuv9 -> yv12 bugfixes avcodec/hevc: move qp_block_mask to where its used svq3: fix cast type to be independant of "sizeof(int)" avcodec/twinvq: Use avpriv_float_dsp_alloc() mpc8_probe: make buffer...
decode mpeg-2 closed gop first b frames, fix issue #824 x86/lossless_audiodsp: fix compilation with --disable-yasm rmdec: when using INT4 deinterleaving, error out if sub_packet_h <= 1. lavf/rtpenc_jpeg: Error out for non-standard Huffman tables. Fix some loop conditions to prevent overreads avcodec/ac3dec_fixed: add m...
torvalds___linux_f1453773514bb8b0bba0716301e8c8f17f8d39c7
--- drivers/target/target_core_configfs.c +++ drivers/target/target_core_configfs.c @@ -2227,6 +2227,11 @@ static ssize_t target_core_alua_tg_pt_gp_store_attr_alua_access_state( " tg_pt_gp ID: %hu\n", tg_pt_gp->tg_pt_gp_valid_id); return -EINVAL; } + if (!(dev->dev_flags & DF_CONFIGURED)) { + pr_err("Unable t...
target: Fix alua_access_state attribute OOPs for un-configured devices
ffmpeg___ffmpeg_ec973f45a3afd82fd53313b0b570645c03b2b178
--- libavformat/utils.c +++ libavformat/utils.c @@ -474,6 +474,7 @@ int av_open_input_stream(AVFormatContext **ic_ptr, if (st) { av_free(st->priv_data); av_free(st->codec->extradata); + av_free(st->codec); } av_free(st); } ...
Fix mem leak when trying to open a non-existing image file ().
nan
encode klv fill item length in fixed ber 4 bytes Fix writing Xiph header sizes Make g729dec.c:decoder_init() return AVERROR(EINVAL) rather than Fix mpeg4video parser dependencies Include float.h to provide FLT_MAX define. Should fix compilation on windows. fix ref comparison in B-frame deblocker ('unused' and 'unavaila...
torvalds___linux_f53e57975151f54ad8caa1b0ac8a78091cd5700a
--- fs/namespace.c +++ fs/namespace.c @@ -1516,7 +1516,7 @@ void __detach_mounts(struct dentry *dentry) namespace_lock(); mp = lookup_mountpoint(dentry); - if (!mp) + if (IS_ERR_OR_NULL(mp)) goto out_unlock; lock_mount_hash();
mnt: Fix the error check in __detach_mounts
mjg59___linux_85b7059169e128c57a3a8a3e588fb89cb2031da1
--- arch/x86/kvm/mmu.c +++ arch/x86/kvm/mmu.c @@ -3934,6 +3934,9 @@ static void kvm_mmu_remove_some_alloc_mmu_pages(struct kvm *kvm, { struct kvm_mmu_page *page; + if (list_empty(&kvm->arch.active_mmu_pages)) + return; + page = container_of(kvm->arch.active_mmu_pages.prev, struct kvm_mmu_page, link); ...
KVM: MMU: fix shrinking page from the empty mmu
stoth68000___media-tree_0df7095205cbf6ea1cdfe6254e0d6a3b823caa3b
--- arch/arm/kernel/smp.c +++ arch/arm/kernel/smp.c @@ -383,16 +383,10 @@ void __init smp_prepare_boot_cpu(void) static void send_ipi_message(const struct cpumask *mask, enum ipi_msg_type msg) { - unsigned long flags; - - local_irq_save(flags); - /* * Call the platform specific cross-CPU call function. */ ...
ARM: SMP: remove IRQ-disabling for smp_cross_call()
ARM: prevent multiple syscall restarts ARM: PNX4008: kzalloc i2c drivers internal data ARM: make_coherent: avoid recalculating the pfn for the modified page ARM: dma-mapping: push buffer ownership down into dma-mapping.c ARM: cleanup boot cpu calling __mmap_switched ARM: fix build warning in asm/elf.h ARM: Add kmap_ato...
PCI Hotplug: fix __must_check warnings [WATCHDOG] hpwdt: Fix NMI handling. [S390] dasd fix dump_sense_dbf mac80211: fix ieee80211_ioctl_giwrate [PATCH] x86-64: Fix preprocessor condition [PARISC] Disable nesting of interrupts [NETROM]: statistics fix mac80211: fix hardware scan completion drm/radeon: fix support for vl...
ffmpeg___ffmpeg_12eb2fd5394813a6119912b22f5dfc17b4a6b4a0
--- libavcodec/dxa.c +++ libavcodec/dxa.c @@ -256,7 +256,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac c->pic.key_frame = !(compr & 1); c->pic.pict_type = (compr & 1) ? AV_PICTURE_TYPE_P : AV_PICTURE_TYPE_I; for(j = 0; j < avctx->height; j++){ - ...
dxa: dont try to use the previous frame if there is none.
segmenter: loose rindex() mmvideo: restore initial y value. convert some options in ffmpeg.c to AVOptions libavformat.v: add ffio_set_buf_size() for ffserver. elaborate on needs_more_info Trying _WIN32 for win32 detection. printing correct format info fix compilation, sorry ive not checked cvslog for a while :((( prore...
qdm2: Fix alignment of local array. gcc bug workaround by (Jonathan Gray <khalek at linuxgamers dot net>) correcting spelling error, yuv2rgb888_line was renamed to yuv2rgb24_line cosmetics: Fix mxf codec long name. doc/examples: add debug compilation flag. ffmpeg: fix units of next_?ts in debug printing routine. fixing...
mysql___mysql-server_c32b4084ec73053684a508f3032f788abf38f2da
--- sql/ha_ndbcluster.cc +++ sql/ha_ndbcluster.cc @@ -4831,7 +4831,8 @@ int ha_ndbcluster::create(const char *name, if ((my_errno= create_ndb_column(col, field, create_info))) DBUG_RETURN(my_errno); - if (create_info->storage_media == HA_SM_DISK) + if (create_info->storage_media == HA_SM_DISK || + ...
BUG, Adding new column to ndb_dd table moves data for non_indexed fields in memory
Bug#23546, Cluster configured without any arbitration correct NAND/NOR scan operations, and add a test case for it. bug#24568, NdbScanFilter NAND/NOR operations sometimes do not work as expected, bug#24568, NdbScanFilter NAND/NOR operations sometimes do not work as expected BUG#25877, After DROP INDEX non-indexed data ...
compatibility fix. warning removed ndb fixes for make dist Bug#8191 - SELECT INTO OUTFILE insists on FROM clause BUG#19318 valgrind: memory leak in ndb_mgmd Bug #26021 valgrind warning handle_trailing_share/ndbcluster_free_share invalid read fixed cleupup() for distinct aggregate functions (BUG#2663) Fixed bug #16...
openbsd___src_f2787bc79e9f03af25cc4610829a56ba66d32573
--- sbin/ping6/ping6.c +++ sbin/ping6/ping6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ping6.c,v 1.148 2016/08/30 12:10:10 florian Exp $ */ +/* $OpenBSD: ping6.c,v 1.149 2016/08/30 13:50:13 florian Exp $ */ /* $KAME: ping6.c,v 1.163 2002/10/25 02:19:06 itojun Exp $ */ /* @@ -443,7 +443,7 @@ main(int argc, char *argv[]) } el...
Make sure to not decrease packet size when running with -v.
Batch mode; read exactly one line "login:unencrypted-password" from Add (r)evert prompt to "File changed on disk; really edit the buffer" Fix display of destination IP when host is an IP address. sw_vp is now in struct nfs_diskless, remove it from struct swdevt. With a per interface IPv6 stateless adress auto configura...
Set errno to EBADF when attempting to write to a file pointer opened read-only Add a missing newline in debug mode to separate debug output from Format string fixes for printing interrupt vectors. slight cosmetic fix fix the description of _SC_GETPW_R_SIZE_MAX; from Tim van der Molen Make this file parsable by pod2man ...
qemu___qemu_4508d81a788f451c83604e1d0033243e191d71a7
--- hw/ppc405_uc.c +++ hw/ppc405_uc.c @@ -68,8 +68,9 @@ ram_addr_t ppc405_set_bootinfo (CPUState *env, ppc4xx_bd_info_t *bd, stl_phys(bdloc + 0x34, bd->bi_baudrate); for (i = 0; i < 4; i++) stb_phys(bdloc + 0x38 + i, bd->bi_s_version[i]); - for (i = 0; i < 32; i++) - stb_phys(bdloc + 0x3C +...
ppc405_uc: fix a buffer overflow
torvalds___linux_5d0be84ec0cacfc7a6d6ea548afdd07d481324cd
--- drivers/md/dm-crypt.c +++ drivers/md/dm-crypt.c @@ -1453,7 +1453,7 @@ static int crypt_alloc_tfms(struct crypt_config *cc, char *ciphermode) unsigned i; int err; - cc->tfms = kmalloc(cc->tfms_count * sizeof(struct crypto_skcipher *), + cc->tfms = kzalloc(cc->tfms_count * sizeof(struct crypto_skcipher *), ...
dm crypt: fix free of bad values after tfm allocation failure
ffmpeg___ffmpeg_ffbe087b589506cb0e671fa711e5c2c6ea203ac0
--- libavcodec/dvdsubdec.c +++ libavcodec/dvdsubdec.c @@ -191,7 +191,7 @@ static int decode_dvd_subtitles(AVSubtitle *sub_header, cmd_pos = READ_OFFSET(buf + cmd_pos); - while ((cmd_pos + 2 + offset_size) < buf_size) { + while (cmd_pos > 0 && cmd_pos < buf_size - 2 - offset_size) { date = AV_RB1...
Fix cmd_pos bounds check to avoid the overflow case.
Mark line_skip3 asm argument as output-only instead of using av_uninit. Add av_fifo_reset function to completely reset fifo state, which makes Remove unused variable in mpeg_mc_decode_init Change some leftover __attribute__((unused)) and __attribute__((used)) to Simplify show_bits_long and copy the GetBitsContext aroun...
fix y scale of mv vissualization of interlaced MVs * fix for integer overflow bugfixes: last 3 lines not brightness/contrast corrected Fix spatial_decomposition_type validity check. 10l fix by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>) revising and fixing motion vectors, squished block unpacking b...
stoth68000___media-tree_99a09c26a8f353bc35087ffa8cc47ffdd6d5d5bc
--- drivers/net/ethernet/neterion/s2io.c +++ drivers/net/ethernet/neterion/s2io.c @@ -2914,6 +2914,9 @@ static int rx_intr_handler(struct ring_info *ring_data, int budget) struct RxD1 *rxdp1; struct RxD3 *rxdp3; + if (budget <= 0) + return napi_pkts; + get_info = ring_data->rx_curr_get_info; get_block = get_...
s2io: Don't receive packets when the napi budget == 0
[PATCH] Use kernel_power_off in sysrq-o userns: Convert s390 getting uid and gid system calls to use kuid and kgid [PATCH] x86-64: survive having no irq mapping for a vector audit: Simply AUDIT_TTY_SET and AUDIT_TTY_GET pid: Extend/Fix pid_vnr scm: Require CAP_SYS_ADMIN over the current pidns to spoof pids. net: Guaran...
[PATCH] e1000: fix ethtool reported bus type for older adapters x86: fix EISA ioremap [PATCH] sh: fix proc file removal for superh store queue module ceph: fix version check on racing inode updates [PATCH] usbnet oops fix V4L/DVB (5933): Dvb-usb/af9005-fe.c: error check fixes tracing/blktrace: fix up checkpatch reporte...
ffmpeg___ffmpeg_265fccccde4ece85feea6fd5b355c58fbb550391
--- libavformat/sdp.c +++ libavformat/sdp.c @@ -59,7 +59,7 @@ static void sdp_write_header(char *buff, int size, struct sdp_session_level *s) "o=- %d %d IN IPV4 %s\r\n" "t=%d %d\r\n" "s=%s\r\n" - "a=tool:li...
Print libavformat version in outgoing SDPs.
Add a "Status stream" section in ffserver-doc.texi. Export and document in cmdutils.h the function parse_number_or_die(). Remove unnecessary function opt_qdiff(), max_qdiff is set now through Send context to some ffmpeg.c opt* function Doxyfication, patch by Stefano Sabatini %stefano P sabatini-lala A poste P it% Remov...
bugfixes: last 3 lines not brightness/contrast corrected Alignment of the LT window, segfault fix patch by Baptiste Coudurier. init dc_scale tables to defaults (fixes mjpeg sig11) part 2/2 of fixing Altivec-accelerated H264 luma inloop filter printf -> av_log, only occurs in DEBUG cases Fix decoding of VMDs representin...
libav___libav_7f390307dbd8470dea5f9226eff22e8885763653
--- libavcodec/svq1dec.c +++ libavcodec/svq1dec.c @@ -540,7 +540,7 @@ static int svq1_decode_delta_block (MpegEncContext *s, GetBitContext *bitbuf, return result; } -static uint16_t svq1_packet_checksum (uint8_t *data, int length, int value) { +static uint16_t svq1_packet_checksum (const uint8_t *data, const int ...
Add const qualifiers to unmodified function parameters, fixes the warning:
stoth68000___media-tree_352dec620aea9529180034fa461d290026ff57e9
--- drivers/staging/comedi/drivers/gsc_hpdi.c +++ drivers/staging/comedi/drivers/gsc_hpdi.c @@ -301,7 +301,8 @@ static inline struct hpdi_board *board(const struct comedi_device * dev) return (struct hpdi_board *) dev->board_ptr; } -typedef struct { +struct hpdi_private { + struct pci_dev *hw_dev; // pointer to ...
Staging: comedi: Remove hpdi_private typedef
Staging: comedi: Add spaces around colons as requested by checkpatch Staging: comedi: Remove adl_pci7296_private typedef Staging: comedi: Remove rtdBoard typedef Staging: comedi: Remove fl512_private typedef Staging: comedi: Remove atmio16_board_t typedef Staging: comedi: Remove intern_transform_t typedef Staging: come...
UBIFS: fix writing uncompressed files [PATCH] sched: fix signed comparisons of long long [PATCH] mac80211: use debugfs_rename ALSA: ASoC: Convert DAPM pop time configuration to debugfs [ALSA] dbri - Fix broken change for value range checks [MIPS] Fix pb1200/irqmap.c and apply some missed patches [PATCH] NPTL signal del...
mjg59___linux_a0f995a561d90636120bce2e89157b537a174c92
--- include/net/mac80211.h +++ include/net/mac80211.h @@ -697,11 +697,11 @@ struct ieee80211_tx_info { } control; struct { struct ieee80211_tx_rate rates[IEEE80211_TX_MAX_RATES]; - int ack_signal; + s32 ack_signal; u8 ampdu_ack_len; u8 ampdu_len; u8 antenna; - /* 21 bytes free */ + void *s...
mac80211: add status_driver_data array to ieee80211_tx_info
torvalds___linux_5c9cfc828ae34e19dabbdb9f2861b8c920454047
--- net/sunrpc/auth_unix.c +++ net/sunrpc/auth_unix.c @@ -41,7 +41,7 @@ unx_create(struct rpc_clnt *clnt, rpc_authflavor_t flavor) { dprintk("RPC: creating UNIX authenticator for client %p\n", clnt); - if (atomic_inc_return(&unix_auth.au_count) == 0) + if (atomic_inc_return(&unix_auth.au_count) == 1) un...
SUNRPC: Fix a typo in unx_create()
stoth68000___media-tree_6eef3801e719e4ea9c15c01b1d77706f47331166
--- net/sched/cls_u32.c +++ net/sched/cls_u32.c @@ -922,11 +922,17 @@ static int u32_change(struct net *net, struct sk_buff *in_skb, ht->divisor = divisor; ht->handle = handle; ht->prio = tp->prio; + + err = u32_replace_hw_hnode(tp, ht, flags); + if (err) { + kfree(ht); + return err; + } + RCU_INIT_P...
net: cls_u32: catch all hardware offload errors
nfp: move filling ring information to FW config nfp: cleanup tx ring flush and rename to reset pci_ids: add Netronome Systems vendor nfp: convert .ndo_change_mtu() to prepare/commit paradigm nfp: remove unused suspicious mask defines nfp: correct RX buffer length calculation nfp: call netif_carrier_off() during init ne...
sh: Fix up asm-generic/ptrace.h fallout. [ARM] S3C24XX: Fix redefine of DEFINE_TIMER() in s3c24xx pwm-clock.c perf_events: Fix rcu and locking issues with cgroup support [ALSA] usbaudio - Fix Oops with unconventional sample rates clk: mmp: add fixed clock UBS_PLL for pxa910/pxa168 thermal: rockchip: fixes the code_to_t...
stoth68000___media-tree_92f5ac6320d74fbb7230626cb88141f3ec9a694c
--- drivers/net/wireless/rt2x00/rt2x00usb.c +++ drivers/net/wireless/rt2x00/rt2x00usb.c @@ -206,6 +206,7 @@ int rt2x00usb_write_tx_data(struct rt2x00_dev *rt2x00dev, skbdesc->desc_len = queue->desc_size; skbdesc->entry = entry; + memcpy(&priv_tx->control, control, sizeof(priv_tx->control)); rt2x00lib_write_tx_d...
rt2x00: Initialize TX control field in data entries
rt2x00: Rework rt61 antenna selection. rt2x00: Correctly set ACK bit in tx descriptors mac80211: Accept auto txpower setting rc80211-pid: export tuning parameters through debugfs mac80211: clean up rate selection rc80211-pid: add debugging [PATCH] rt2x00: Fix residual check in PLCP calculations. rt2x00: Rework rt73 ant...
[PATCH] sched: disable interrupts for locking in load_balance() x86: fix leak un ioremap_page_range() failure BUG_ON() Conversion in md/dm-target.c i2c: Fix sparse warning in i2c.h [PATCH] nfsd4: fix open-create permissions [SCSI] ipr: Fix ipr PCI hotplug hang with CDROM attach libata: schedule probing after SError acc...
ffmpeg___ffmpeg_b18e5c031c088269b3f01d2cdb84b0ff9a305c35
--- libavcodec/h264.c +++ libavcodec/h264.c @@ -8067,6 +8067,7 @@ static int decode_nal_units(H264Context *h, uint8_t *buf, int buf_size){ h->inter_gb_ptr= &h->inter_gb; if(h->redundant_pic_count==0 && h->intra_gb_ptr && s->data_partitioning + && s->context_initialized ...
Avoid calling decode_slice when context_initialized is not set.
read_packet return value must be < 0 when no packet is returned, including EOF. do not include bswap.h in common.h for external programs, since the former Fix typo in comment Missing part of the malloc -> av_malloc patch: memalign must be replaced as well! Wrong state handling causing decompression errors in some cases...
CQM: fix fallback to JVT scaling lists fix demuxing of Video006.3gp fix segfault on broken streams multi frame duplication fix Fixed rgb32(24)to16 stuff, rgb32(24)to15 is still broken * making it possible to override aspect ratio from the command line b frames & slices bugfix fix last coeff fix? flv escape codes trying...
sgminer-dev___sgminer_bdac0633ab11b659c30141621c31918e6e62d847
--- api.c +++ api.c @@ -4411,11 +4411,11 @@ static void mcast() 0, (struct sockaddr *)(&came_from), sizeof(came_from)); if (SOCKETFAIL(rep)) { - applog(LOG_DEBUG, "API mcast reply failed (%s) (%d)", + applog(LOG_DEBUG, "API mcast send reply failed (%s) (%d)", SOCKERRMSG, (int)reply_s...
api.c fix mcast debug message bug
bonzini___qemu_07535a890200e640517be0ae04fcff28860ecd37
--- ui/vnc.c +++ ui/vnc.c @@ -1878,6 +1878,7 @@ static void framebuffer_update_request(VncState *vs, int incremental, return; } + vs->force_update = 1; vnc_set_area_dirty(vs->dirty, width, height, x, y, w, h); }
fix full frame updates for VNC clients
nan
linux-user: Don't overrun guest buffer in sched_getaffinity Fix and improve 64 bit immediate loading print meaningful error message in case of --disable-vhost-net vmstate: Fix varrays with uint8 indexes qerror: Improve QERR_DEVICE_NOT_ACTIVE message qdict: Fix memory leak in qdict_do_flatten() ide: Clear error_status a...
ffmpeg___ffmpeg_b7b7e2348c07498f373d3b14a13615de151b2e7e
--- libavcodec/msmpeg4.c +++ libavcodec/msmpeg4.c @@ -593,6 +593,11 @@ av_cold int ff_msmpeg4_decode_init(AVCodecContext *avctx) int i; MVTable *mv; + if(avctx->width<=0 || avctx->height<=0) { + av_log(avctx, AV_LOG_ERROR, "invalid dimensions\n"); + return -1; + } + if (ff_h263_deco...
msmpeg4dec: check w/h, prevent assert failure later
h264: fix x264 build detection these variables seem to be unused on the demuxer side so theres no sense in setting them fix obnoxious ogg_packet passing from encoder to muxer mpegvideo enc: choose VBV buffer size for mpeg1/2 when none is specified instead of failing H264: Fix slice threads avidec/guess_ni_flag: fix har...
lavu/error: make error_entries static const. Fix libx264 profile listing Move H264 chroma MC from inline asm to yasm. This fixes VP3/5/6 and VC-1 consistant error return for asf_get_packet() rtjpeg: Add ff_ prefix to nonstatic symbols Document ffserver debug mode. flicvideo: fix invalid reads Make avfilter_config_links...
inspircd___inspircd_4d394250d983ab25fd6e52c45204d61b22e5335e
--- src/inspsocket.cpp +++ src/inspsocket.cpp @@ -26,6 +26,7 @@ #include "inspstring.h" #include "helperfuncs.h" #include "socketengine.h" +#include "message.h" extern InspIRCd* ServerInstance; @@ -177,9 +178,21 @@ bool InspSocket::BindAddr() std::string IP = Conf.ReadValue("bind","address",j); if (Type =...
Allow binding to hosts again in <bind> and <link>
Added m_safelist (yes om, i kept alpha order) Tons of DNS debugging and stability fixes Recursive free sucks Added manpages, extra docs De-uglified chanrec::SetCustomMode -- no strlcat, no std::string, just some very clever pointer voodoo New docs to match extra module Version class stuff, etc Akwardness with echo Impr...
Fixed servermode propogation Fixed to use new methods of ServerConfig Fixed issue where /connect crashes the ircd if no default routes defined Fixed minor typos Fixed /LINKS to show flat even in tricky mIRC. delete operator tracking in debug mode (using a macro -- live with it.) Fixed module loading and chop() bugs Bac...
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
9