strongloop / strong-oracle

Deprecated: Node.js Driver for Oracle databases (Use https://github.com/oracle/node-oracledb instead)
Other
45 stars 18 forks source link

Fixed crash when reading clobs with multi byte characters #35

Closed vschoettke closed 9 years ago

vschoettke commented 9 years ago

There was a buffer overflow when reading CLOBs which contained multi byte characters. clobCal.length() does not return the number of bytes but the number of characters. I seems to be no way to determine actual number of bytes that a CLOB character can contain so I used the maximum (4 bytes)

vschoettke commented 9 years ago

@raymondfeng Any update here?