/dports/www/links/links-2.25/ |
H A D | dip.c | 340 if (ox && ox * y / ox != y) overalloc(); in enlarge_gray_horizontal() 341 if (ox * y > MAX_SIZE_T) overalloc(); in enlarge_gray_horizontal() 429 if (ox && ox * y / ox != y) overalloc(); in enlarge_color_horizontal() 519 if (ox * y > MAX_SIZE_T) overalloc(); in scale_gray_horizontal() 660 if (x * oy > MAX_SIZE_T) overalloc(); in enlarge_gray_vertical() 671 if (x * oy > MAX_SIZE_T) overalloc(); in enlarge_gray_vertical() 724 if (x && x * oy / x != oy) overalloc(); in enlarge_color_vertical() 813 if (x && x * oy / x != oy) overalloc(); in scale_gray_vertical() 814 if (x * oy > MAX_SIZE_T) overalloc(); in scale_gray_vertical() 877 if (x && x * oy / x != oy) overalloc(); in scale_color_vertical() [all …]
|
H A D | tiff.c | 44 if ((unsigned)length > MAXINT) overalloc(); in tiff_restart() 47 if ((unsigned)length + (unsigned)deco->tiff_size > MAXINT) overalloc(); in tiff_restart() 48 if ((unsigned)length + (unsigned)deco->tiff_size < (unsigned)length) overalloc(); in tiff_restart() 177 if ((unsigned)w > MAXINT) overalloc(); in flip_buffer()
|
H A D | string.c | 45 if (((l1 | l2) | (l1 + l2 + 1)) > MAXINT) overalloc(); in add_to_strn() 54 if (((l | n) | (l + n + 1)) > MAXINT) overalloc(); in extend_str() 70 if (ll + old_length >= (unsigned)MAXINT / 2 || ll + old_length < ll) overalloc(); in add_bytes_to_str()
|
H A D | html_tbl.c | 313 if ((unsigned)nt.rx > MAXINT / 2) overalloc(); in new_cell() 317 if ((unsigned)nt.ry > MAXINT / 2) overalloc(); in new_cell() 342 if ((unsigned)n > MAXINT / 2) overalloc(); in new_columns() 366 if ((unsigned)n > MAXINT / 2) overalloc(); in set_td_width() 369 if ((unsigned)n > MAXINT / sizeof(int)) overalloc(); in set_td_width() 690 if ((unsigned)t->y > MAXINT / sizeof(int)) overalloc(); in parse_table() 862 if ((unsigned)t->x > MAXINT / sizeof(int)) overalloc(); in get_column_widths() 1394 if ((unsigned)t->x > MAXINT) overalloc(); in display_table_frames() 1395 if ((unsigned)t->y > MAXINT) overalloc(); in display_table_frames() 1885 if ((unsigned)t->x > MAXINT) overalloc(); in process_g_table() [all …]
|
H A D | gif.c | 71 if ((unsigned)colors > MAXINT / 3 / sizeof(*(deco->color_map))) overalloc(); in alloc_color_map() 445 …pixel / (unsigned)global_cimg->width != (unsigned)global_cimg->buffer_bytes_per_pixel) overalloc(); in gif_accept_byte() 446 …(unsigned)global_cimg->width * (unsigned)global_cimg->buffer_bytes_per_pixel > MAXINT) overalloc(); in gif_accept_byte()
|
H A D | html_r.c | 74 if ((unsigned)fd->n > MAXINT / sizeof(struct frame_desc)) overalloc(); in copy_frameset_desc() 276 if (s > MAXINT / sizeof(struct line)) overalloc(); in xpand_lines() 313 if ((unsigned)ln->allocated > MAXINT / sizeof(chr)) overalloc(); in xpand_line() 327 if ((unsigned)l >= MAXINT) overalloc(); in r_xpand_spaces() 497 if ((unsigned)l > MAXINT / sizeof(chr)) overalloc(); in shift_chars() 607 if ((unsigned)f->nlinks > MAXINT / sizeof(struct link) - ALLOC_GR) overalloc(); in new_link() 629 if (sl > MAXINT - sizeof(struct tag)) overalloc(); in html_tag() 664 if (l < 0) overalloc(); in put_chars() 703 if ((unsigned)l > (unsigned)MAXINT / sizeof(char_t)) overalloc(); in put_chars() 1431 if ((unsigned)f->y > MAXINT / sizeof(struct search *)) overalloc(); in sort_srch() [all …]
|
H A D | html_gr.c | 188 … > ((MAXINT - sizeof(struct g_object_area)) / sizeof(struct g_object_text *) - 1) / 2) overalloc(); in flush_pending_line_to_obj() 225 …*lp)->n_entries > (MAXINT - sizeof(struct g_object_line)) / sizeof(struct g_object *)) overalloc(); in add_object_to_line() 271 if (sl > MAXINT - sizeof(struct g_object_text)) overalloc(); in split_line_object() 535 …gned)map->n_areas > (MAXINT - sizeof(struct image_map)) / sizeof(struct map_area) - 1) overalloc(); in do_image() 558 if ((unsigned)a->ncoords > MAXINT / sizeof(int) - 1) overalloc(); in do_image() 641 if (sl > MAXINT - sizeof(struct g_object_tag)) overalloc(); in g_html_special() 726 if (l < 0) overalloc(); in g_put_chars() 817 if ((unsigned)l > MAXINT) overalloc(); in g_put_chars() 818 if ((unsigned)ptl + (unsigned)l > MAXINT - ALLOC_GR) overalloc(); in g_put_chars()
|
H A D | jpeg.c | 216 if ((unsigned)global_cinfo->src->bytes_in_buffer + (unsigned)length > MAXINT) overalloc(); in jpeg_restart() 217 …if ((unsigned)global_cinfo->src->bytes_in_buffer + (unsigned)length < (unsigned)length) overalloc(… in jpeg_restart()
|
H A D | drivers.c | 255 …if ((unsigned)ss->rl > (MAXINT - sizeof(struct rect_set)) / sizeof(struct rect) - R_GR) overalloc(… in add_to_rect_set() 386 if ((unsigned)n > MAXINT / sizeof(struct graphics_device *)) overalloc(); in init_virtual_devices() 498 if (*l > MAXINT - 2) overalloc(); in addchr()
|
H A D | bfu.c | 19 if (n == MAXINT) overalloc(); in getml() 46 if (n == MAXINT) overalloc(); in add_to_ml() 179 if ((unsigned)menu->ni > MAXINT / sizeof(unsigned char *)) overalloc(); in do_menu_selected() 875 for (n = 0; (*mi)[n].text; n++) if (n == MAXINT) overalloc(); in add_to_menu() 877 if (((unsigned)n + 2) > MAXINT / sizeof(struct menu_item)) overalloc(); in add_to_menu() 895 if (n == MAXINT) overalloc(); in do_dialog() 1280 if (n == MAXINT) overalloc(); in do_tab_compl() 1336 if (sl > MAXINT - sizeof(struct history_item)) overalloc(); in dialog_func() 2320 if ((unsigned)udatan > MAXINT / sizeof(unsigned char *)) overalloc(); in msg_box() 2370 if (l > MAXINT - sizeof(struct history_item)) overalloc(); in add_to_history() [all …]
|
H A D | error.c | 682 overalloc(); in mem_alloc_() 700 overalloc(); in mem_calloc_() 737 overalloc(); in mem_realloc_() 754 if (!(len + 1)) overalloc(); in memacpy()
|
H A D | img.c | 314 if ((size_t)cimg->width > MAX_SIZE_T / sizeof(*buf_16) / 3) overalloc(); in header_dimensions_known() 355 …ze_t)cimg->width * (size_t)cimg->height / (size_t)cimg->width != (size_t)cimg->height) overalloc(); in header_dimensions_known() 506 if ((size_t)cimg->width > MAX_SIZE_T / (size_t)max_height / 3 / sizeof(*tmp)) overalloc(); in buffer_to_bitmap_incremental() 585 if (ix && (size_t)ix * (size_t)iy / (size_t)ix != (size_t)iy) overalloc(); in buffer_to_bitmap() 586 if ((size_t)ix * (size_t)iy > MAX_SIZE_T / sizeof(*tmp) / 3) overalloc(); in buffer_to_bitmap() 619 if ((size_t)cimg->width > MAX_SIZE_T / 3 / sizeof(*dregs)) overalloc(); in buffer_to_bitmap()
|
H A D | charsets.c | 391 if ((unsigned)bp > MAXINT - ALLOC_GR) overalloc(); in convert_string() 422 if ((unsigned)bp > MAXINT - ALLOC_GR) overalloc(); in convert_string() 430 if ((unsigned)bp > MAXINT - ALLOC_GR) overalloc(); in convert_string()
|
/dports/www/links1/links-1.04/ |
H A D | html_tbl.c | 222 if ((unsigned)nt.rx > MAXINT / 2) overalloc(); in new_cell() 226 if ((unsigned)nt.ry > MAXINT / 2) overalloc(); in new_cell() 253 if ((unsigned)n > MAXINT / 2) overalloc(); in new_columns() 277 if ((unsigned)n > MAXINT / 2) overalloc(); in set_td_width() 280 if ((unsigned)n > MAXINT / sizeof(int)) overalloc(); in set_td_width() 524 if ((unsigned)t->y > MAXINT / sizeof(int)) overalloc(); in parse_table() 632 if ((unsigned)t->x > MAXINT / sizeof(int)) overalloc(); in get_column_widths() 711 if ((unsigned)t->x > MAXINT / sizeof(int)) overalloc(); in distribute_widths() 806 if ((unsigned)t->x > MAXINT / sizeof(int)) overalloc(); in check_table_widths() 999 if ((unsigned)t->x > MAXINT) overalloc(); in display_table_frames() [all …]
|
H A D | cache.c | 90 if ((off_t)(0UL + offset + length) < 0 || (off_t)(0UL + offset + length) < offset) overalloc(); in add_fragment() 91 …off_t)C_ALIGN(length)) < 0 || (off_t)(0UL + offset + (off_t)C_ALIGN(length)) < offset) overalloc(); in add_fragment() 123 if (ca > MAXINT - (int)sizeof(struct fragment) || ca < 0) overalloc(); in add_fragment() 176 if ((off_t)(0UL + l + h->length) < 0 || (off_t)(0UL + l + h->length) < l) overalloc(); in defrag_entry() 179 if (l > MAXINT - (int)sizeof(struct fragment)) overalloc(); in defrag_entry()
|
H A D | html_r.c | 134 if (XALIGN((unsigned)y + (unsigned)p->yp) > MAXINT) overalloc(); in xpand_lines() 139 if (XALIGN((unsigned)y + 1) > MAXINT / sizeof(struct line)) overalloc(); in xpand_lines() 154 if (XALIGN((unsigned)x + (unsigned)p->xp) > MAXINT) overalloc(); in xpand_line() 166 if (XALIGN((unsigned)x + 1) > MAXINT / sizeof(chr)) overalloc(); in xpand_line() 179 if ((unsigned)l >= MAXINT) overalloc(); in r_xpand_spaces() 308 if ((unsigned)l > MAXINT / sizeof(chr)) overalloc(); in shift_chars() 479 if (l < 0) overalloc(); in put_chars() 1382 if ((unsigned)f->y > MAXINT / sizeof(struct search *)) overalloc(); in sort_srch() 1383 if ((unsigned)f->y > MAXINT / sizeof(int)) overalloc(); in sort_srch() 1415 if (cnt == MAXINT) overalloc(); \ in get_srch() [all …]
|
H A D | error.c | 107 if (size > MAXINT) overalloc(); in debug_mem_alloc() 168 if (size > MAXINT) overalloc(); in debug_mem_realloc()
|
H A D | bfu.c | 11 if (n == MAXINT) overalloc(); in getml() 14 if ((unsigned)n > (MAXINT - sizeof(struct memory_list)) / sizeof(void *)) overalloc(); in getml() 38 if (n == MAXINT) overalloc(); in add_to_ml() 89 for (i = 0; items[i].text; i++) if (i == MAXINT - sizeof(struct menu)) overalloc(); in do_menu_selected() 469 for (n = 0; (*mi)[n].text; n++) if (n == MAXINT) overalloc(); in add_to_menu() 470 if (((unsigned)n + 2) > MAXINT / sizeof(struct menu_item)) overalloc(); in add_to_menu() 488 if (n == MAXINT) overalloc(); in do_dialog() 659 if ((unsigned)n > MAXINT / sizeof(struct menu_item) - ALLOC_GR - 1) overalloc(); in do_tab_compl() 670 if (n == MAXINT) overalloc(); in do_tab_compl() 1281 if ((unsigned)udatan > MAXINT / sizeof(unsigned char *)) overalloc(); in msg_box() [all …]
|
H A D | charsets.c | 335 if ((unsigned)bp > MAXINT - ALLOC_GR) overalloc(); in convert_string() 366 if ((unsigned)bp > MAXINT - ALLOC_GR) overalloc(); in convert_string() 374 if ((unsigned)bp > MAXINT - ALLOC_GR) overalloc(); in convert_string()
|
H A D | links.h | 430 #define overalloc() \ macro 456 if (size > MAXINT) overalloc(); in mem_alloc() 487 if (size > MAXINT) overalloc(); in mem_realloc() 532 if (!(len + 1)) overalloc(); in memacpy() 604 if (((l1 | l2) | (l1 + l2 + 1)) > MAXINT) overalloc(); in add_to_strn() 625 if (ll >= MAXINT || *l + ll >= MAXINT) overalloc(); in add_to_str() 636 if (ll < 0 || (size_t)*l + ll >= MAXINT) overalloc(); in add_bytes_to_str() 647 if ((size_t)*l + 1 >= MAXINT) overalloc(); in add_chr_to_str()
|
H A D | connect.c | 316 if ((unsigned)len > MAXINT - sizeof(struct write_buffer)) overalloc(); in write_to_socket() 341 if ((unsigned)rb->len > MAXINT - sizeof(struct read_buffer) - READ_SIZE) overalloc(); in read_select()
|
/dports/net-mgmt/mk-livestatus/mk-livestatus-1.2.8p25/nagios4/ |
H A D | kvvec.h | 178 extern struct kvvec_buf *kvvec2buf(struct kvvec *kvv, char kv_sep, char pair_sep, int overalloc);
|
/dports/net-mgmt/ndoutils/ndoutils-2.1.3/include/nagios-4x/lib/ |
H A D | kvvec.h | 178 extern struct kvvec_buf *kvvec2buf(struct kvvec *kvv, char kv_sep, char pair_sep, int overalloc);
|
/dports/net-mgmt/nagios4/nagios-4.4.6/lib/ |
H A D | kvvec.h | 178 extern struct kvvec_buf *kvvec2buf(struct kvvec *kvv, char kv_sep, char pair_sep, int overalloc);
|
H A D | kvvec.c | 186 struct kvvec_buf *kvvec2buf(struct kvvec *kvv, char kv_sep, char pair_sep, int overalloc) in kvvec2buf() argument 200 kvvb->bufsize = overalloc + (kvv->kv_pairs * 2); in kvvec2buf()
|