Menu

#2 Uninitialized Memory

v1.0_(example)
open
None
5
2018-06-21
2018-06-21
Kevin Wong
No

Line 1557: if((script=( char *)malloc(scriptspace))==NULL) {

As malloc() used for variable script doesn't initialize memory by design, i=strlen(scrpt) in line 1652 therefore operates on uninitalized memory when external script and '-s' option are set.

Hit this bug with one of my openwrt routers.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB