You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Donat Zenichev
775eaeb420
MT#59962 XmlRpcValue: initialize `tm`
Fixes:
*** CID 549010: Uninitialized variables (UNINIT)
/apps/xmlrpc2di/xmlrpc++/src/XmlRpcValue.cpp: 395 in
XmlRpc::XmlRpcValue::timeFromXml(const std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char>> &, unsigned long *)()
389 if (sscanf(stime.c_str(),"%4d%2d%2dT%2d:%2d:%2d",&t.tm_year,&t.tm_mon,
&t.tm_mday,&t.tm_hour,&t.tm_min,&t.tm_sec) != 6)
390 return false;
391
392 t.tm_year -= 1900;
393 t.tm_isdst = -1;
394 _type = TypeDateTime;
>>> CID 549010: Uninitialized variables (UNINIT)
>>> Using uninitialized value "t". Field "t.tm_wday" is uninitialized.
395 _value.asTime = new struct tm(t);
396 *offset += stime.length();
397 return true;
398 }
399
400 std::string XmlRpcValue::timeToXml() const
Change-Id: Ifbefcf8e79d7113e1fdc8c92dfc5c39d480a882d
|
9 months ago |
| .. |
|
ann_b2b
|
Imported Upstream version 1.6.0~20140516~eaa616
|
12 years ago |
|
announce_transfer
|
Imported Upstream version 1.6.0~20140516~eaa616
|
12 years ago |
|
announcement
|
MT#62181 replace AmSharedVar
|
11 months ago |
|
annrecorder
|
MT#57391 sems (CE): eliminate the `auto_ptr` usage (deprecated in C++11)
|
3 years ago |
|
callback
|
Imported Upstream version 1.6.0~20140516~eaa616
|
12 years ago |
|
click2dial
|
MT#62181 Click2Dial: use smart pointer
|
10 months ago |
|
conf_auth
|
Imported Upstream version 1.6.0~20140516~eaa616
|
12 years ago |
|
conference
|
MT#59962 AmUtils: use overloading for str2int
|
10 months ago |
|
confpin
|
MT#55831 confpin: simple pin conference app
|
3 years ago |
|
db_reg_agent
|
MT#62181 remove event queue during shut down
|
10 months ago |
|
diameter_client
|
MT#62181 global: fix AmThread/AmEventQueue order
|
10 months ago |
|
dsm
|
MT#62181 use std::move
|
9 months ago |
|
early_announce
|
MT#59962 AmUtils: use overloading for str2int
|
10 months ago |
|
early_dbprompt
|
MT#59962 early_dbprompt: add Makefile
|
1 year ago |
|
examples
|
MT#62181 replace AmSharedVar
|
11 months ago |
|
gateway
|
Imported Upstream version 1.6.0~20140516~eaa616
|
12 years ago |
|
ivr
|
MT#57437 Upstream: apps/ivr fix for Python3.10 and higher
|
3 years ago |
|
jsonrpc
|
MT#62181 global: fix AmThread/AmEventQueue order
|
10 months ago |
|
mailbox
|
Imported Upstream version 1.6.0~20140516~eaa616
|
12 years ago |
|
mobile_push
|
MT#59962 mobile_push: add Makefile
|
1 year ago |
|
monitoring
|
MT#62181 global: use AmThread stop_requested
|
10 months ago |
|
mp3
|
added OpenSSL linking exception to license
|
16 years ago |
|
msg_storage
|
MT#55831 Revamp the build system
|
3 years ago |
|
mwi
|
MT#57437 Upstream: Fixed NOTIFY to URI
|
3 years ago |
|
pin_collect
|
Imported Upstream version 1.6.0~20140516~eaa616
|
12 years ago |
|
precoded_announce
|
Imported Upstream version 1.6.0~20140516~eaa616
|
12 years ago |
|
py_sems
|
MT#56184 build: Fix parallel building
|
3 years ago |
|
reg_agent
|
MT#59962 Coverity Scan: Uninitialized pointer field (reg_agent)
|
10 months ago |
|
registrar_client
|
MT#62181 global: use AmThread stop_requested
|
10 months ago |
|
rtmp
|
MT#62181 global: use AmThread stop_requested
|
10 months ago |
|
sbc
|
MT#62181 use std::move
|
9 months ago |
|
sw_vsc
|
MT#62181 use std::move
|
9 months ago |
|
twit
|
Imported Upstream version 1.6.0~20140516~eaa616
|
12 years ago |
|
voicebox
|
MT#59962 AmUtils: use overloading for str2int
|
10 months ago |
|
voicemail
|
MT#62181 rework AmCondition
|
11 months ago |
|
webconference
|
MT#59962 AmUtils: use overloading for str2int
|
10 months ago |
|
xmlrpc2di
|
MT#59962 XmlRpcValue: initialize `tm`
|
9 months ago |
|
CMakeLists.txt
|
Imported Upstream version 1.6.0~20140516~eaa616
|
12 years ago |
|
Makefile
|
MT#59962 apps: exclude sw_vsc
|
1 year ago |