scientist2009 / pdfium

Automatically exported from code.google.com/p/pdfium
0 stars 0 forks source link

Remove FX_LPCWSTR cast to wchar_t* literal to avoid potential type cast bugs #78

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Similar issue as in 
https://pdfium.googlesource.com/pdfium/+/d66fda28dc2159ffc68c312764172382825c4d1
0 needs to be corrected.

Original issue reported on code.google.com by bo...@foxitsoftware.com on 15 Nov 2014 at 12:16

GoogleCodeExporter commented 9 years ago
Note: there's a ton of these in XFA:
$ git grep '[(]FX_LPCWSTR[)]L' | grep xfa | wc
   2869   24197  546415

You'd need to automate the process.

Original comment by tsepez@chromium.org on 15 Nov 2014 at 12:20

GoogleCodeExporter commented 9 years ago
Fixed in 
https://pdfium.googlesource.com/pdfium/+/893fe94f069656ef5106db1aec32ec11b85f4de
2

Original comment by bo...@foxitsoftware.com on 15 Nov 2014 at 1:13