search for: 105,7

Displaying 20 results from an estimated 377 matches for "105,7".

Did you mean: 100,7
2018 Feb 09
3
[PATCH]Add address overflow check
...return; } The pointer `c` happened to be greater than `0x80000000` and the sum overflowed, even though `length` is positive. Here's the patch code: *diff --git a/src/speexdec.c b/src/speexdec.c* *index 4721dc1..18786f1 100644* *--- a/src/speexdec.c* *+++ b/src/speexdec.c* @@ -105,7 +105,7 @@ static void print_comments(char *comments, int length) end = c+length; len=readint(c, 0); c+=4; - if (len < 0 || c+len>end) + if (len < 0 || c+len>end || c+len<c) { fprintf (stderr, "Invalid/corrupted comments\n"); retur...
2018 Oct 01
1
[PATCH] build: support openSUSE Leap 15.0
...sing os-release, this makes it possible to build OOTB. --- m4/guestfs-appliance.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/guestfs-appliance.m4 b/m4/guestfs-appliance.m4 index 5c2bc3e8d..bcba4c1a1 100644 --- a/m4/guestfs-appliance.m4 +++ b/m4/guestfs-appliance.m4 @@ -105,7 +105,7 @@ AC_ARG_WITH([distro], DISTRO="`. /etc/os-release && echo $ID | tr '@<:@:lower:@:>@' '@<:@:upper:@:>@'`" AS_CASE([$DISTRO], [FEDORA | RHEL | CENTOS],[DISTRO=REDHAT], - [OPENSUS...
2018 Oct 02
1
[PATCH] rpm: generalize openSUSE support
...up of commit a4e53bcbc52594f8863e7866448640f7ac8ab0f9. --- m4/guestfs-appliance.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/guestfs-appliance.m4 b/m4/guestfs-appliance.m4 index bcba4c1a1..0a3d6133a 100644 --- a/m4/guestfs-appliance.m4 +++ b/m4/guestfs-appliance.m4 @@ -105,7 +105,7 @@ AC_ARG_WITH([distro], DISTRO="`. /etc/os-release && echo $ID | tr '@<:@:lower:@:>@' '@<:@:upper:@:>@'`" AS_CASE([$DISTRO], [FEDORA | RHEL | CENTOS],[DISTRO=REDHAT], - [OPENSUS...
2018 Mar 27
2
murmurhash3 test failures on big-endian systems
...ic inline uint32_t getblock32(const uint32_t *p, int i) > { > - return p[i]; > + return cpu32_to_le(p[i]); ? or perhaps le32_to_cpu, although it should be the same in the end. > } > > //----------------------------------------------------------------------------- > @@ -105,7 +105,7 @@ > > static inline uint64_t getblock64(const uint64_t *p, int i) > { > - return p[i]; > + return cpu64_to_le(p[i]); > } > > Regards, > Apollon
2013 Feb 03
1
[PATCH 1/3] drm/nouveau/therm: turn on a fan only when crossing threshold in positive direction
...changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/nouveau/core/subdev/therm/temp.c b/drivers/gpu/drm/nouveau/core/subdev/therm/temp.c index bf9b3ce..8f27b44 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/therm/temp.c +++ b/drivers/gpu/drm/nouveau/core/subdev/therm/temp.c @@ -105,7 +105,7 @@ void nouveau_therm_sensor_event(struct nouveau_therm *therm, return; if (dir == NOUVEAU_THERM_THRS_FALLING) - nv_info(therm, "temperature (%u C) went bellow the '%s' threshold\n", + nv_info(therm, "temperature (%u C) went below the '%s' threshold\...
2018 Mar 27
2
murmurhash3 test failures on big-endian systems
Hi, On 12:55 Mon 26 Mar , Josef 'Jeff' Sipek wrote: > On Mon, Mar 26, 2018 at 15:57:01 +0300, Apollon Oikonomopoulos wrote: > ... > > I'd be happy to test the patch, thanks! > > Ok, try the attached patch. (It is a first pass at the issue, so it may not > be the final diff that'll end up getting committed. It'd be good to know if > it actually
2023 Aug 11
2
[libnbd PATCH] golang: Bump minimum Go version to 1.17
...t32)(unsafe.Pointer(entries))[:count:count] - copy(ret, s) + s := unsafe.Slice(entries, count) + for i, item := range s { + ret[i] = uint32(item) + } return ret } "; diff --git a/README.md b/README.md index c7166613..8524038e 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ ## Building from source * Python >= 3.3 to build the Python 3 bindings and NBD shell (nbdsh). * FUSE 3 to build the nbdfuse program. * Linux >= 6.0 and ublksrv library to build nbdublk program. -* go and cgo, for compiling the golang bindings and tests. +* go and cgo >= 1.17...
2016 Apr 18
0
[PATCH v4 17/37] bios/vmap: unk0 field is the mode
...ap *); struct nvbios_vmap_entry { - u8 unk0; + u8 mode; u8 link; u32 min; u32 max; diff --git a/drm/nouveau/nvkm/subdev/bios/vmap.c b/drm/nouveau/nvkm/subdev/bios/vmap.c index f2295e1..32bd8b1 100644 --- a/drm/nouveau/nvkm/subdev/bios/vmap.c +++ b/drm/nouveau/nvkm/subdev/bios/vmap.c @@ -105,7 +105,7 @@ nvbios_vmap_entry_parse(struct nvkm_bios *bios, int idx, u8 *ver, u8 *len, info->arg[2] = nvbios_rd32(bios, vmap + 0x10); break; case 0x20: - info->unk0 = nvbios_rd08(bios, vmap + 0x00); + info->mode = nvbios_rd08(bios, vmap + 0x00); info->link = nvbios_rd...
2018 Mar 27
0
murmurhash3 test failures on big-endian systems
...ot break it on x864_64): --- b/src/lib/murmurhash3.c +++ b/src/lib/murmurhash3.c @@ -23,7 +23,7 @@ static inline uint32_t getblock32(const uint32_t *p, int i) { - return p[i]; + return cpu32_to_le(p[i]); } //----------------------------------------------------------------------------- @@ -105,7 +105,7 @@ static inline uint64_t getblock64(const uint64_t *p, int i) { - return p[i]; + return cpu64_to_le(p[i]); } Regards, Apollon
2018 Mar 27
0
murmurhash3 test failures on big-endian systems
...n the end. Right. I'm going get the changes reviewed & committed. I'll ping you when there is a commit with the "official" fix. Thanks, Jeff. > > } > > > > //----------------------------------------------------------------------------- > > @@ -105,7 +105,7 @@ > > > > static inline uint64_t getblock64(const uint64_t *p, int i) > > { > > - return p[i]; > > + return cpu64_to_le(p[i]); > > } > > > > Regards, > > Apollon -- *NOTE: This message is ROT-13 encrypted twice for extra prote...
2018 Feb 09
0
[PATCH]Add address overflow check
...n `0x80000000` and the sum > overflowed, even though `length` is positive. > > Here's the patch code: > > *diff --git a/src/speexdec.c b/src/speexdec.c* > > *index 4721dc1..18786f1 100644* > > *--- a/src/speexdec.c* > > *+++ b/src/speexdec.c* > > @@ -105,7 +105,7 @@static void print_comments(char *comments, int length) > >     end = c+length; > >     len=readint(c, 0); > >     c+=4; > > -   if (len < 0 || c+len>end) > > +   if (len < 0 || c+len>end || c+len<c) > >     { > >        fpri...
2002 Jan 07
1
rsync-2.5.1 / socket.c - unititialized variable breaks build.
...+++ lcl_src:socket.c Sun Jan 6 08:40:51 2002 @@ -1,3 +1,4 @@ +/* Converted by prj_src:unix_c_to_vms_c.tpu AND prj_src:socket.tpu on 6-JAN-20 02 08:40:51.01 OPENVMS_AXP */ /* -*- c-file-style: "linux" -*- Copyright (C) 1992-2001 by Andrew Tridgell <tridge@samba.org> @@ -105,7 +106,8 @@ bhints.ai_family = ai_family; bhints.ai_socktype = ai_socktype; bhints.ai_flags = AI_PASSIVE; - if (getaddrinfo(bind_address, NULL, &bhints, &bres_all) == -1) { + error = getaddrinfo(bind_address, NULL, &bhints, &bres_all); +...
2020 Sep 08
0
[PATCH v2 2/7] kernel/resource: move and rename IORESOURCE_MEM_DRIVER_MANAGED
...lags & IORESOURCE_MEM_DRIVER_MANAGED) + if (res->flags & IORESOURCE_SYSRAM_DRIVER_MANAGED) return 0; if (sz < kbuf->memsz) diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index 4c47b68a9f4b5..8e1cd18b5cf14 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c @@ -105,7 +105,7 @@ static struct resource *register_memory_resource(u64 start, u64 size, unsigned long flags = IORESOURCE_SYSTEM_RAM | IORESOURCE_BUSY; if (strcmp(resource_name, "System RAM")) - flags |= IORESOURCE_MEM_DRIVER_MANAGED; + flags |= IORESOURCE_SYSRAM_DRIVER_MANAGED; /*...
2020 Mar 01
1
[PATCH v2 1/3] virtio-net: Introduce extended RSC feature
...* Steering */ > #define VIRTIO_NET_F_CTRL_MAC_ADDR 23 /* Set MAC address */ > > +#define VIRTIO_NET_F_RSC_EXT 61 /* extended coalescing info */ > #define VIRTIO_NET_F_STANDBY 62 /* Act as standby for another device > * with the same MAC. > */ > @@ -104,6 +105,7 @@ struct virtio_net_config { > struct virtio_net_hdr_v1 { > #define VIRTIO_NET_HDR_F_NEEDS_CSUM 1 /* Use csum_start, csum_offset */ > #define VIRTIO_NET_HDR_F_DATA_VALID 2 /* Csum is valid */ > +#define VIRTIO_NET_HDR_F_RSC_INFO 4 /* rsc info in csum_ fields */ > __u8 flags;...
2008 Jan 09
0
libswfdec/swfdec_audio_event.c libswfdec/swfdec_bits.c libswfdec/swfdec_sound.c libswfdec/swfdec_sprite.c libswfdec/swfdec_swf_decoder.c
...cted", z.total_out, buffer->length); memset (buffer->data + z.total_out, 0, buffer->length - z.total_out); } diff --git a/libswfdec/swfdec_sound.c b/libswfdec/swfdec_sound.c index ef0641e..cb1e97c 100644 --- a/libswfdec/swfdec_sound.c +++ b/libswfdec/swfdec_sound.c @@ -105,7 +105,7 @@ tag_func_sound_stream_block (SwfdecSwfDecoder * s, guint tag) SWFDEC_ERROR ("empty sound chunk"); return SWFDEC_STATUS_OK; } - SWFDEC_LOG ("got a buffer with %u samples, %d skip and %u bytes mp3 data", n_samples, skip, + SWFDEC_LOG ("got...
2012 Oct 19
5
[PATCH v2 1/3] mm: highmem: export kmap_to_page for modules
...the affected drivers can be compiled as modules. Signed-off-by: Will Deacon <will.deacon at arm.com> --- mm/highmem.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/mm/highmem.c b/mm/highmem.c index d517cd1..2a07f97 100644 --- a/mm/highmem.c +++ b/mm/highmem.c @@ -105,6 +105,7 @@ struct page *kmap_to_page(void *vaddr) return virt_to_page(addr); } +EXPORT_SYMBOL(kmap_to_page); static void flush_all_zero_pkmaps(void) { -- 1.7.4.1
2012 Oct 19
5
[PATCH v2 1/3] mm: highmem: export kmap_to_page for modules
...the affected drivers can be compiled as modules. Signed-off-by: Will Deacon <will.deacon at arm.com> --- mm/highmem.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/mm/highmem.c b/mm/highmem.c index d517cd1..2a07f97 100644 --- a/mm/highmem.c +++ b/mm/highmem.c @@ -105,6 +105,7 @@ struct page *kmap_to_page(void *vaddr) return virt_to_page(addr); } +EXPORT_SYMBOL(kmap_to_page); static void flush_all_zero_pkmaps(void) { -- 1.7.4.1
2019 Jan 21
5
[PATCH xf86-video-nouveau 0/4] Compiler warnings series
A short series of compiler visibility warning fixes that I prepared whilst trialing improvements to xf86-video-nouveau's use of the core xorg-server utility macros. Rhys Kidd (4): wfb: Remove declaration for undefined function nouveau_wfb_init() dri2: Mark local create/destroy buffer and copy region functions as static xv: Mark local NVSetupTexturedVideo function as static
2018 Jul 01
2
[PATCH nbdkit] valgrind: Don't call dlclose when running under valgrind.
...++++++--- configure.ac | 17 +++++++++++++++++ src/Makefile.am | 3 ++- src/filters.c | 3 ++- src/internal.h | 8 ++++++++ src/plugins.c | 3 ++- 6 files changed, 43 insertions(+), 6 deletions(-) diff --git a/README b/README index 29e16c3..e51b564 100644 --- a/README +++ b/README @@ -105,7 +105,7 @@ To run the test suite: To test for memory leaks ('make check-valgrind'): - - valgrind + - valgrind program and development headers For non-essential enhancements to the test suite: @@ -121,7 +121,6 @@ After installing any dependencies: ./configure...
2018 May 29
2
[PATCH net] vhost_net: flush batched heads before trying to busy polling
...on Wang <jasowang at redhat.com> --- drivers/vhost/net.c | 37 ++++++++++++++++++++++++------------- 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index 986058a..eeaf673 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -105,7 +105,9 @@ struct vhost_net_virtqueue { /* vhost zerocopy support fields below: */ /* last used idx for outstanding DMA zerocopy buffers */ int upend_idx; - /* first used idx for DMA done zerocopy buffers */ + /* For TX, first used idx for DMA done zerocopy buffers + * For RX, number of bat...