mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
FS-8905 #resolve [Heap overflow in img patch]
This commit is contained in:
@@ -330,9 +330,9 @@ SWITCH_DECLARE(void) switch_png_free(switch_png_t **pngP);
|
||||
* \param[in] img The small Image descriptor
|
||||
* \param[in] x Leftmost pos
|
||||
* \param[in] y Topmost pos
|
||||
* \param[in] alpha Alaha value from 0(completely transparent) to 255(opaque)
|
||||
* \param[in] percent Alaha value from 0(completely transparent) to 100(opaque)
|
||||
*/
|
||||
SWITCH_DECLARE(void) switch_img_overlay(switch_image_t *IMG, switch_image_t *img, int x, int y, uint8_t alpha);
|
||||
SWITCH_DECLARE(void) switch_img_overlay(switch_image_t *IMG, switch_image_t *img, int x, int y, uint8_t percent);
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_img_scale(switch_image_t *src, switch_image_t **destP, int width, int height);
|
||||
SWITCH_DECLARE(switch_status_t) switch_img_fit(switch_image_t **srcP, int width, int height, switch_img_fit_t fit);
|
||||
|
||||
Reference in New Issue
Block a user