search for: e2big

Displaying 20 results from an estimated 207 matches for "e2big".

2019 Jan 22
2
[PATCH] lib: Reset errno to zero to avoid erroneously returning E2BIG
...ib/utf16.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/utf16.c b/lib/utf16.c index e099548..67fa996 100644 --- a/lib/utf16.c +++ b/lib/utf16.c @@ -58,6 +58,7 @@ _hivex_recode (hive_h *h, recode_type t, /* Reset errno here because we don't want to accidentally * return E2BIG to a library caller. */ + errno = 0; size_t prev = outalloc; /* Try again with a larger output buffer. */ free (out); -- 2.7.4
2016 Jul 13
1
[PATCH v3 0/7] lib: string: add functions to case-convert strings
...esult. > > I am inclined to agree. However, everybody has been telling me that > these functions should be void. Originally they weren't. What about something like this? It might also work to keep the four static inline functions as "void" (since they won't ever return E2BIG anyway) and just have strlcpyto* return an integer (since that's where the buffer could be too small). Rasmus, what's your take? diff --git a/include/linux/string.h b/include/linux/string.h index ae82d13..6cc85dc 100644 --- a/include/linux/string.h +++ b/include/linux/string.h @@ -116,8...
2019 Jan 22
0
Re: [PATCH] lib: Reset errno to zero to avoid erroneously returning E2BIG
...rtion(+) > > diff --git a/lib/utf16.c b/lib/utf16.c > index e099548..67fa996 100644 > --- a/lib/utf16.c > +++ b/lib/utf16.c > @@ -58,6 +58,7 @@ _hivex_recode (hive_h *h, recode_type t, > /* Reset errno here because we don't want to accidentally > * return E2BIG to a library caller. > */ > + errno = 0; > size_t prev = outalloc; > /* Try again with a larger output buffer. */ > free (out); Sorry about that. I've pushed your fix now. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.r...
2009 Jan 26
0
E2BIG
Hello all... We are getting this error: "E2BIG - Arg list too long", when trying to send incremental backups (b89 -> b101). Do you know about any bugs related to that? I did a look on the archives, and google but could not find anything. What i did find was something related with wrong timestamps (32bits), and some ZFS test on the cod...
2019 Jan 22
2
Re: [PATCH] lib: Reset errno to zero to avoid erroneously returning E2BIG
...a/lib/utf16.c b/lib/utf16.c > > index e099548..67fa996 100644 > > --- a/lib/utf16.c > > +++ b/lib/utf16.c > > @@ -58,6 +58,7 @@ _hivex_recode (hive_h *h, recode_type t, > > /* Reset errno here because we don't want to accidentally > > * return E2BIG to a library caller. > > */ > > + errno = 0; > > size_t prev = outalloc; > > /* Try again with a larger output buffer. */ > > free (out); > > Sorry about that. I've pushed your fix now. > > Rich. > > -- > Rich...
2016 Jul 10
1
[PATCH v3 0/7] lib: string: add functions to case-convert strings
On 7/8/2016 6:43 PM, Markus Mayer wrote: > This series introduces a family of generic string case conversion > functions. This kind of functionality is needed in several places in > the kernel. Right now, everybody seems to be implementing their own > copy of this functionality. > > Based on the discussion of the previous version of this series[1] and > the use cases found in
2016 Aug 10
3
[PATCH v5 0/7] lib: string: add functions to case-convert strings
...v4: - rebased on 4.8-rc1; this only affects patch 6/7 (gk104) and only the patch context, not the patch itself - added an ACK to patch 4/7 (speakup) - added an ACK to patch 7/7 (power_supply) Changes since v3: - strlcpytoupper() and strlcpytolower() return length of destination or -E2BIG (see [2]) - we use ~(size_t)0 instead of -1 to copy strings of arbitrary length in strcpyto*() and strto*() - A few ACKs added Changes since v2: - use strlcpy() semantics not strncpy() semantics, i.e. guarantee NULL termination - as a result strncpyto<upper|lower> are now cal...
2016 Jul 22
3
[PATCH v4 0/7] lib: string: add functions to case-convert strings
...s use of this functionality will be submitted upstream shortly, which prompted this whole exercise. The changes made here have been compile-tested, but not tried out, due to lack of required hardware. Changes since v3: - strlcpytoupper() and strlcpytolower() return length of destination or -E2BIG (see [2]) - we use ~(size_t)0 instead of -1 to copy strings of arbitrary length in strcpyto*() and strto*() - A few ACKs added Changes since v2: - use strlcpy() semantics not strncpy() semantics, i.e. guarantee NULL termination - as a result strncpyto<upper|lower> are now cal...
2010 Oct 05
2
Startup error dovecot-2.0.5
When starting 2.0.5, I'm getting: # /usr/dovecot-2/sbin/dovecot -F doveconf: Warning: service auth { client_limit=4096 } is lower than required under max. load (12288) doveconf: Fatal: execvp(/usr/dovecot-2/sbin/dovecot) failed: Argument list too long Argument list too long? WTF? -- Ralf Hildebrandt Gesch?ftsbereich IT | Abteilung Netzwerk Charit? - Universit?tsmedizin Berlin Campus
2013 Apr 16
7
[Bug 9798] New: rsync crash with SIGSEGV when read time out happens
https://bugzilla.samba.org/show_bug.cgi?id=9798 Summary: rsync crash with SIGSEGV when read time out happens Product: rsync Version: 3.0.2 Platform: All OS/Version: All Status: NEW Severity: critical Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: vijunag at
2017 Jan 17
0
[PATCH 1/6] drm/nouveau: Extend NVKM HDMI power control method to set InfoFrames
...0, true))) + return ret; + } + + if (args->v0.flags & + NV50_DISP_MTHD_V1_SOR_HDMI_PWR_FLAG_VENDOR_INFOFRAME) { + vendor_infoframe = data; + if ((ret = nvif_unpack(-ENOSYS, &data, &size, + *vendor_infoframe, 0, 0, true))) + return ret; + } + + if (size) + return -E2BIG; + if (!(ctrl & 0x40000000)) { nvkm_mask(device, 0x6165a4 + hoff, 0x40000000, 0x00000000); nvkm_mask(device, 0x616520 + hoff, 0x00000001, 0x00000000); diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/disp/hdmigf119.c b/drivers/gpu/drm/nouveau/nvkm/engine/disp/hdmigf119.c index 632f02d.....
2017 Nov 16
2
Re: [Qemu-devel] [qemu-img] support for XVA
...u use it like this: > > $ ./convert-xva.rb ~/Downloads/stats-appliance-2.36.020502.xva Ref:73 It doesn't work on huge images: # time convert-xva.rb 20171115_193814_efff_.xva Ref:10 -O qcow2 disk1.qcow2 /usr/bin/convert-xva.rb:119:in `exec': Argument list too long - qemu-img (Errno::E2BIG) from /usr/bin/convert-xva.rb:119:in `<main>' real 9m41.414s user 0m19.280s sys 0m3.260s
2020 Jun 03
1
[PATCH RFC 01/13] vhost: option to fetch descriptors through an independent struct
...ers are chained via a 16 bit next field, so >>> + * we can have at most 2^16 of these. */ >>> + if (unlikely(count > USHRT_MAX + 1)) { >>> + vq_err(vq, "Indirect buffer length too big: %d\n", >>> + indirect->len); >>> + return -E2BIG; >>> + } >>> + if (unlikely(vq->ndescs + count > vq->max_descs)) { >>> + vq_err(vq, "Too many indirect + direct descs: %d + %d\n", >>> + vq->ndescs, indirect->len); >>> + return -E2BIG; >>> + } >>> + &...
2017 Jan 17
32
[PATCH 0/6] drm/nouveau: Enable HDMI Stereoscopy
This is an initial implementation of HDMI 3D mode support for the nouveau kernel driver. It works on all of the hardware that I have available to test at the moment, but I am unsure as to the overall approach taken for setting HDMI InfoFrames, there's no support for g84 or gf119 disps, and the criteria for enabling stereo support for an output seems a bit iffy. The first four patches arrange
2017 Aug 10
2
cannot join windows 7 samba4-ad-dc fresh install, get NT_STATUS_INTERNAL_ERROR
...ent -L $(hostname -f) -UAdministrator -d3 Client started (version 4.6.0). Enter SAMDOM\Administrator's password: Sharename Type Comment --------- ---- ------- netlogon Disk sysvol Disk IPC$ IPC IPC Service (Samba 4.6.0) E2BIG: convert_string(UTF-8,CP850): srclen=27 destlen=16 - 'DC1.SAMDOM.EXAMPLE.COM' Connecting to 192.168.0.2 at port 139 got OID=1.2.840.48018.1.2.2 Server Comment --------- ------- Workgroup Master --------- ------- I have libnss_winbind set...
2020 Jun 03
2
[PATCH RFC 01/13] vhost: option to fetch descriptors through an independent struct
...ount = len / sizeof desc; > + /* Buffers are chained via a 16 bit next field, so > + * we can have at most 2^16 of these. */ > + if (unlikely(count > USHRT_MAX + 1)) { > + vq_err(vq, "Indirect buffer length too big: %d\n", > + indirect->len); > + return -E2BIG; > + } > + if (unlikely(vq->ndescs + count > vq->max_descs)) { > + vq_err(vq, "Too many indirect + direct descs: %d + %d\n", > + vq->ndescs, indirect->len); > + return -E2BIG; > + } > + > + do { > + if (unlikely(++found > count)) { &...
2020 Jun 03
2
[PATCH RFC 01/13] vhost: option to fetch descriptors through an independent struct
...ount = len / sizeof desc; > + /* Buffers are chained via a 16 bit next field, so > + * we can have at most 2^16 of these. */ > + if (unlikely(count > USHRT_MAX + 1)) { > + vq_err(vq, "Indirect buffer length too big: %d\n", > + indirect->len); > + return -E2BIG; > + } > + if (unlikely(vq->ndescs + count > vq->max_descs)) { > + vq_err(vq, "Too many indirect + direct descs: %d + %d\n", > + vq->ndescs, indirect->len); > + return -E2BIG; > + } > + > + do { > + if (unlikely(++found > count)) { &...
2018 Feb 28
0
[PATCH v3 1/2] common: extract UTF-8 conversion function
...- out = malloc (outlen + 1); - if (out == NULL) { - err = errno; - iconv_close (ic); - errno = err; - return NULL; - } - inp = input; - outp = out; - - r = iconv (ic, (ICONV_CONST char **) &inp, &inlen, &outp, &outlen); - if (r == (size_t) -1) { - if (errno == E2BIG) { - err = errno; - prev = outalloc; - /* Try again with a larger output buffer. */ - free (out); - outalloc *= 2; - if (outalloc < prev) { - iconv_close (ic); - errno = err; - return NULL; - } - goto again; - } - else { - /...
2004 Nov 07
0
3.0.8pre2 and convert_string
...maxentries = 1366, close_after_first=1, cl ose_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384 [2004/11/07 16:51:50, 3] smbd/dir.c:dptr_create(491) creating new dirptr 256 for path ./, expect_close = 1 [2004/11/07 16:51:50, 3] lib/charcnv.c:convert_string_internal(236) E2BIG: convert_string(ISO8859-1,UTF-16LE): srclen=2 destlen=2 - '???.txt' [2004/11/07 16:51:50, 3] lib/charcnv.c:convert_string_internal(236) E2BIG: convert_string(ISO8859-1,UTF-16LE): srclen=2 destlen=2 - '?.txt' This was: Creating a new text file and renaming it to ???.txt. I don'...
2010 Jul 22
0
Fwd: [PATCH hivex] non-ASCII characters in node names
...r *out = malloc (outlen + 1); - if (out == NULL) { - int err = errno; - iconv_close (ic); - errno = err; - return NULL; - } - char *inp = input; - char *outp = out; - - size_t r = iconv (ic, &inp, &inlen, &outp, &outlen); - if (r == (size_t) -1) { - if (errno == E2BIG) { + for(;;) { + size_t inlen = len; + size_t outlen = outalloc; + char *out = malloc (outlen + 1); + if (out == NULL) { int err = errno; - size_t prev = outalloc; - /* Try again with a larger output buffer. */ - free (out); - outalloc *= 2; - if (outall...