[TYPO3-core] RFC: Bug #10099: Use TYPO3_DB->exec_SELECTcountRows() to determine the number of rows

Dmitry Dulepov dmitry at typo3.org
Mon Mar 9 16:29:55 CET 2009


Hi!

Oliver Hader wrote:
> The value is processed before by calcDoublePostKey() which returns a
> value generated by hexdec(). I don't think that this function supports
> negative exponents on the base of 16 and that something like "ABCD.48"
> is used. Thus, it returns an integer.

You are absolutely right, no problem with that.

> However, I'm fine with adding that additional intval() for the case that
> method is called directly from any extension.

This is what I mean: better more security than less security :) intval() does not hurt :)

-- 
Dmitry Dulepov
TYPO3 core team
http://dmitry-dulepov.com/


More information about the TYPO3-team-core mailing list