ntki
ntki
When reading from an Aes*cryptionStream with ```read($length=1)``` and ```$data === "0"```, then ```return $data ? $data : '';``` just gives an empty string.
read() should only return "" after eof() became true.
Created a potential solution for the issue (#66) I just opened. Of course it might break preexisting applications.
When I execute: ``` dbi = require('DBI') conn = assert(dbi.Connect("MySQL", "", "user", "", "127.0.0.1", 3306)) user_stmt = assert(conn:prepare("SELECT NULL UNION SELECT 111")) user_stmt:execute() print(user_stmt:fetch()[1]) print(user_stmt:fetch()[1]) ``` It gives me: ```...