SQLite User Forum

memset size mismatch
Login

memset size mismatch

(1) By anonymous on 2021-09-10 17:43:56 [source]

hello!

looks like you've made a typo in one of use of memset function -- link

did you mean to write sizeof(*pFile)?

(2) By Larry Brasfield (larrybr) on 2021-09-10 18:12:42 in reply to 1 [link] [source]

I agree that it looks quite strange, especially considering that the sizes differ and have no logical relation to each other.

Thanks for the report.