* [LVM2 PATCH] Add overflow check to find_config_int()
@ 2007-08-09 17:56 Jun'ichi Nomura
0 siblings, 0 replies; only message in thread
From: Jun'ichi Nomura @ 2007-08-09 17:56 UTC (permalink / raw)
To: lvm-devel
find_config_int() and find_config_tree_int() are the function
to search throught the config tree and return the found value
or given default on failure.
Internally, the values are int64_t but implicitly casted to int
on return.
Though I think it doesn't matter in realistic configs,
it's better to check them and leave explicit log message.
Thanks,
--
Jun'ichi Nomura, NEC Corporation of America
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lvm2-config-find-int-check-overflow.patch
Type: text/x-patch
Size: 1529 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20070809/0e47d9e4/attachment.bin>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-08-09 17:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-09 17:56 [LVM2 PATCH] Add overflow check to find_config_int() Jun'ichi Nomura
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.