diff options
author | Tobias Brunner <tobias@strongswan.org> | 2013-07-24 16:03:38 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2013-07-25 11:28:01 +0200 |
commit | 116363e5c639be5e35483ad72ac275e5cfaee4eb (patch) | |
tree | a3d39d9051a9536da665667ae4b1a4560cca2bbc /src/libstrongswan/processing/watcher.c | |
parent | d7dc4fedd11154322b92eb41b2dd53f5a97d93ad (diff) | |
download | strongswan-116363e5c639be5e35483ad72ac275e5cfaee4eb.tar.bz2 strongswan-116363e5c639be5e35483ad72ac275e5cfaee4eb.tar.xz |
array: Number of items in get_size() is unsigned
Otherwise, array->esize is promoted to int and if array->esize * num
results in a value > 0x7fffffff the return value would be incorrect due
the implicit sign extension when getting cast to size_t.
Diffstat (limited to 'src/libstrongswan/processing/watcher.c')
0 files changed, 0 insertions, 0 deletions