| /mports/www/analog/files/ |
| D | patch-ab.2 | 4 if (((*name = strstr(whole, "Mosaic")) != NULL && (len = 6)) || 5 ((*name = strstr(whole, "mosaic")) != NULL && (len = 6)) || 6 ((*name = strstr(whole, "Konqueror")) != NULL && (len = 9)) || 7 + ((*name = strstr(whole, "Baiduspider")) != NULL && (len = 11)) || 8 ((*name = strstr(whole, "Galeon")) != NULL && (len = 6)) || 9 ((*name = strstr(whole, "Phoenix")) != NULL && (len = 7)) || 10 ((*name = strstr(whole, "Firebird")) != NULL && (len = 8)) || 11 ((*name = strstr(whole, "Firefox")) != NULL && (len = 7)) || 12 ((*name = strstr(whole, "Chimera")) != NULL && (len = 7)) || 13 + ((*name = strstr(whole, "Chrome")) != NULL && (len [all...] |
| /mports/textproc/clucene/files/ |
| D | patch-src__contribs-lib__CLucene__highlighter__Highlighter.cpp | 7 + int len; 20 + len = cl_min(endOffset-startOffset,LUCENE_MAX_WORD_LEN); 21 + _tcsncpy(substringBuffer,text+startOffset,len); 22 + substringBuffer[len]=_T('\0'); 30 - int len = startOffset-lastEndOffset; 31 - if ( len > LUCENE_MAX_FIELD_LEN ) 32 - len = LUCENE_MAX_FIELD_LEN; 33 + len = cl_min(startOffset-lastEndOffset,LUCENE_MAX_FIELD_LEN); 34 _tcsncpy(buffer,text+lastEndOffset,len); 35 buffer[len] [all...] |
| /mports/textproc/sphinxsearch/files/ |
| D | patch-src_sphinxstemru.inl | 5 static int LOC_PREFIX(stem_ru_adjectival) ( LOC_CHAR_TYPE * word, int len ) 7 - register int i = LOC_PREFIX(stem_ru_adj_i) ( word, len ); 8 + int i = LOC_PREFIX(stem_ru_adj_i) ( word, len ); 10 i += LOC_PREFIX(stem_ru_part_i) ( word, len-i ); 14 static int LOC_PREFIX(stem_ru_verb_ov) ( LOC_CHAR_TYPE * word, int len ) 16 - register int i = LOC_PREFIX(stem_ru_verb_i) ( word, len ); 17 + int i = LOC_PREFIX(stem_ru_verb_i) ( word, len ); 18 if ( i && (len>=i+2) && word[len-i-2] == RUS::O && word[len [all...] |
| /mports/www/qt5-webengine/files/ |
| D | patch-src_3rdparty_chromium_third__party_boringssl_src_crypto_fipsmodule_bn_bytes.c | 3 @@ -136,9 +136,13 @@ BIGNUM *BN_le2bn(const uint8_t *in, size_t len, BIGNUM 11 + for (size_t i = 0; i < len; i++) 14 OPENSSL_memcpy(ret->d, in, len); 20 static int fits_in_bytes(const uint8_t *bytes, size_t num_bytes, size_t len) { 22 for (size_t i = len; i < num_bytes; i++) { 31 @@ -172,9 +180,13 @@ int BN_bn2le_padded(uint8_t *out, size_t len, const BI 32 num_bytes = len; 45 OPENSSL_memset(out + num_bytes, 0, len - num_bytes); 47 @@ -190,11 +202,15 @@ int BN_bn2bin_padded(uint8_t *out, size_t len, const B 48 num_bytes = len; [all...] |
| /mports/devel/sdl12/files/ |
| D | input.h | 97 * @len: length of the scancode that resides in @scancode buffer. 112 __u8 len; member 134 #define EVIOCGNAME(len) _IOC(_IOC_READ, 'E', 0x06, len) /* get device name */ argument 135 #define EVIOCGPHYS(len) _IOC(_IOC_READ, 'E', 0x07, len) /* get physical location */ argument 136 #define EVIOCGUNIQ(len) _IOC(_IOC_READ, 'E', 0x08, len) /* get unique identifier */ argument 137 #define EVIOCGPROP(len) _IOC(_IOC_READ, 'E', 0x09, len) /* ge argument 163 EVIOCGMTSLOTS(len) global() argument 165 EVIOCGKEY(len) global() argument 166 EVIOCGLED(len) global() argument 167 EVIOCGSND(len) global() argument 168 EVIOCGSW(len) global() argument 170 EVIOCGBIT(ev,len) global() argument [all...] |
| D | patch-src_video_x11_SDL_x11sym.h | 7 -SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len),(dpy,data,len),return) 8 +SDL_X11_SYM(int,_XData32,(Display *dpy,register _Xconst long *data,unsigned len),(dpy,data,len),return) 9 SDL_X11_SYM(void,_XRead32,(Display *dpy,register long *data,long len),(dpy,data,len),)
|
| /mports/textproc/libxml2/files/ |
| HD | patch-CVE-2025-32414 | |
| /mports/net/liboauth/files/ |
| D | patch-src_hash.c | 18 unsigned int len=0; 34 len = EVP_PKEY_size(pkey); 35 sig = (unsigned char*)xmalloc((len+1)*sizeof(char)); 39 - if (EVP_SignFinal (&md_ctx, sig, &len, pkey)) { 42 + if (EVP_SignFinal (md_ctx, sig, &len, pkey)) { 44 sig[len] = '\0'; 45 tmp = oauth_encode_base64(len,sig); 90 size_t len=0; 102 while (!feof(F) && (len=fread(fb,sizeof(char),BUFSIZ, F))>0) { 103 - EVP_DigestUpdate(&ctx, fb, len); [all...] |
| /mports/security/heimdal/files/ |
| D | patch-lib_krb5_recvauth.c | 7 - uint32_t len; 8 + uint32_t len, bytes; 16 - if (krb5_net_read (context, p_fd, her_appl_version, len) != len 25 + if ((bytes = krb5_net_read (context, p_fd, her_appl_version, len))) { 27 + if (strnlen(her_appl_version, len) == len) 28 + her_appl_version[len-1] = '\0'; 30 + if (bytes != len ||
|
| /mports/converters/iconv/files/ |
| D | patch-lib__converter.c | 33 - size_t len = *inbytesleft < *outbytesleft ? *inbytesleft 35 + size_t result, len; 38 + len = *inbytesleft; 42 + len = *outbytesleft; 44 bcopy(*inbuf, *outbuf, len); 45 *inbuf += len; 46 *inbytesleft -= len; 47 *outbuf += len; 48 *outbytesleft -= len;
|
| /mports/filesystems/ods2/files/ |
| D | patch-ods2.c | 8 + int iargc, i, ilen, len; 29 + for ( len=0, ilen=0, i=argc-iargc; i<argc; i++ ) 35 + len +=ilen; 36 + if (len < sizeof(str)) { 43 + printf("%%ODS2-CMD-LINE, len of arguments too long.\n"); 67 + len = strlen(ptr); 68 + if (len && *ptr != '!') { 70 + len--; 72 + while (*(ptr+len) == ' ' || *(ptr+len) [all...] |
| /mports/comms/lirc/files/ |
| D | patch-daemons_lircd.c | 7 - len = snprintf(buffer, PACKET_SIZE, "%016llx %s\n", codes->code, codes->name); 8 + len = snprintf(buffer, PACKET_SIZE, "%016llx %s\n", (unsigned long long)codes->code, codes->name); 9 if (len >= PACKET_SIZE + 1) { 10 len = sprintf(buffer, "code_too_long\n"); 16 - len = snprintf(buffer, PACKET_SIZE, "1\n%016llx %s\n", code->code, code->name); 17 + len = snprintf(buffer, PACKET_SIZE, "1\n%016llx %s\n", (unsigned long long)code->code, code->name); 18 if (len >= PACKET_SIZE + 1) { 19 len = sprintf(buffer, "1\ncode_too_long\n");
|
| /mports/x11/lumina-core/files/ |
| D | patch-libLumina_LuminaOS-FreeBSD.cpp | 135 + size_t len = sizeof(life); 140 + if ( sysctlbyname("hw.acpi.battery.life", &life, &len, NULL, 0) == 0 ) 155 + size_t len = sizeof(life); 156 + if ( (sysctlbyname("hw.acpi.battery.life", &life, &len, NULL, 0) != 0) || 167 + size_t len = sizeof(state); 168 + if ( (sysctlbyname("hw.acpi.battery.state", &state, &len, NULL, 0) == 0) && 180 + size_t len = sizeof(min); 182 + (sysctlbyname("hw.acpi.battery.time", &min, &len, NULL, 0) != 0) )
|
| /mports/devel/elfutils/files/ |
| D | patch-lib_vasnprintf.h | 12 + int len; 14 + len = vasprintf(&alloc, format, args); 15 + if (len < 0) 18 + *lengthp = len; 20 + if (resultbuf != NULL && (size_t)len < *lengthp) { 21 + memcpy(resultbuf, alloc, len + 1);
|
| D | patch-lib_eu-config.h | 30 +mempcpy(void * restrict dst, const void * restrict src, size_t len) 33 + return (((char *)memcpy(dst, src, len)) + len); 37 +wmempcpy(wchar_t * restrict dst, const wchar_t * restrict src, size_t len) 40 + return (wmemcpy(dst, src, len) + len); 101 + size_t len = (n); \ 107 + len = end - (s); \ 109 + res = alloca(len + 1); \ 110 + memcpy(res, (s), len); \ [all...] |
| /mports/archivers/unarj/files/ |
| D | sanitize.c | 19 * directory. dest must hold at least len bytes */ 20 void copy_path_relative(char *dest, char *src, size_t len) in copy_path_relative() argument 28 for(; len && *p;) in copy_path_relative() 49 len += o-dest; in copy_path_relative() 55 len += o-tmp; in copy_path_relative() 68 --len; in copy_path_relative() 71 copy = MIN(p-src,len); in copy_path_relative() 73 len -= copy; in copy_path_relative() 80 o[len?0:-1] = '\0'; in copy_path_relative()
|
| /mports/net/zebra-server/files/ |
| D | patch-index_zebrasrv.c | 7 - term->u.general->size = term->u.general->len = len; 8 + term->u.general->len = len; 9 term->u.general->buf = odr_malloc(r->stream, len); 10 memcpy(term->u.general->buf, outbuf, len);
|
| /mports/www/nginx/files/ |
| D | extra-patch-src_http_modules_ngx_http_slice_read_ahead.c | 249 ctx->range.len = ngx_sprintf(ctx->range.data, "bytes=%O-%O", ctx->start, 256 + ssize_t len; 264 + len = h->value.len - 6; 273 + while ((*p == ' ') && (len != 0)) { p++; len--; } 276 + if ((len == 0) || (*p < '0' || *p > '9')) { 281 + while ((len != 0) && (*p >= '0' && *p <= '9')) { 287 + len--; 291 + while ((len ! [all...] |
| D | extra-patch-naxsi-libinjection__sqli_c | 5 size_t pos, size_t len, const char* value) 8 - size_t last = len < MSIZE ? len : (MSIZE - 1); 10 + size_t last = len < NAXSI_MSIZE ? len : (NAXSI_MSIZE - 1); 13 st->len = last;
|
| /mports/security/yafic/files/ |
| D | patch-crypto.c | 40 ssize_t len; variable 75 while ((len = read (fd, HashBuffer, HASH_BUFFER_SIZE)) > 0) { 77 - EVP_SignUpdate (&ctx, HashBuffer, len); 78 + EVP_SignUpdate (ctx, HashBuffer, len); 80 - if (!EVP_SignUpdate (&ctx, HashBuffer, len)) 81 + if (!EVP_SignUpdate (ctx, HashBuffer, len)) 110 ssize_t len; local 147 while ((len = read (fd, HashBuffer, HASH_BUFFER_SIZE)) > 0) { 149 - EVP_VerifyUpdate (&ctx, HashBuffer, len); 150 + EVP_VerifyUpdate (ctx, HashBuffer, len); [all...] |
| /mports/textproc/libtextcat/files/ |
| D | patch-src_fingerprint.c | 31 -/* checks if n-gram lex is a prefix of key and of length len */ 32 -inline int issame( char *lex, char *key, int len ) 35 - for (i=0; i<len; i++) { 47 /* increases frequency of ngram(p,len) */ 48 -static inline int increasefreq( table_t *t, char *p, int len ) 50 - uint4 hash = simplehash( p, len ) & TABLEMASK; 51 +static int increasefreq( table_t *t, char *p, int len ) 53 + uint4 hash = simplehash( p, len ) & TABLEMASK; 59 if ( issame( entry->str, p, len ) ) { 74 /* looks up ngram(p,len) */ [all...] |
| /mports/net-p2p/ctorrent/files/ |
| D | patch-negative-ints | 6 p++; len--; 10 + p++; len--; 13 for(psave = p; len && isdigit(*p); p++,len--) ; 15 if(!len || MAX_INT_SIZ < (p - psave) || *p != endchar) return 0;
|
| /mports/security/ipsec-tools/files/ |
| D | wildcard-psk.diff | 3 @@ -211,7 +211,8 @@ getpsk(str, len) 7 - if (strncmp(buf, str, len) == 0 && buf[len] == '\0') { 9 + || (strncmp(buf, str, len) == 0 && buf[len] == '\0')) {
|
| /mports/mail/faces/files/ |
| D | patch-compface_cmain.c | 195 ! int len; in INITERR() 200 ! if ((len = write(outfile, s, t - s)) == -1) { in INITERR() 209 ! register int len; in INITERR() 215 ! if ((len = write(outfile, s, t - s)) == -1) in INITERR() 223 s += len; in INITERR() 232 ! int count, len; in INITERR() 237 ! while ((len = read(infile, t, FACEBUFLEN - count))) { in INITERR() 238 ! if (len == -1) { in INITERR() 244 t += len; in INITERR() 245 ! if ((count += len) > in INITERR() [all...] |
| D | patch-compface_uncmain.c | 199 ! int len; in INITERR() 204 ! if ((len = write(outfile, s, t - s)) == -1) { in INITERR() 213 ! register int len; in INITERR() 219 ! if ((len = write(outfile, s, t - s)) == -1) in INITERR() 227 s += len; in INITERR() 236 ! int count, len; in INITERR() 241 ! while ((len = read(infile, t, FACEBUFLEN - count))) { in INITERR() 242 ! if (len == -1) { in INITERR() 248 t += len; in INITERR() 249 ! if ((count += len) > in INITERR() [all...] |