[yocto] [pseudo] Pseudo 1.8+ xattr sqlite corruption

Seebs seebs at seebs.net
Thu Sep 20 13:46:56 PDT 2018


On Thu, 20 Sep 2018 20:41:02 +0000
<Jack.Fewx at dell.com> wrote:

> Okay, so I found the problem, and I have a patch for it.  Throughout
> the pseudo_db.c code, the handling of the msg->ino objects is not
> consistent.  Many get passed to the sqlite3_bind_int64 function, but
> NOT ALL.  9 instances in the code, including all of them in the xattr
> code use only sqlite3_bind_int which truncates the integers to signed
> 32-bits.

D'oh. I should have noticed that since I was looking at the code.

Thanks, that's a very good fix.

-s


More information about the yocto mailing list