Etienne Cochard

Results 16 issues of Etienne Cochard

GCanvasState do not release memory for mStrokeStyle & mFillStyle on operator =. mStrokeStyle is not freed on GCanvasState destruction.

in value.cpp ``` std::string PalValue::asString() const { if( m_Type == Type::STRING ) { return *m_Value.strVal; } const int maxSizeOfString = sizeof( m_Value.doubleVal );

In the function std::string PalValue::asString() const, if type is unknown, there is a risk of crash: ``` char buffer[maxSizeOfString + 1]; switch( mType ) { ... default: break; } std::string...

in linux implementation of GFontManagerImplement::MeasureText, memory is allocated for nothing and not freed. ``` if( text == nullptr || textLength == 0 ) { float* ret = new float[4];

Hi, I think that there is a small error in ColorToString (gcanvas/gconvert.cpp) ``` ss

in html_tag.cpp line 4249 ```c // re-render with new width if (ret_width < max_width && !second_pass && have_parent()) { if (m_display == display_inline_block || (m_css_width.is_predefined() && (m_float != float_none ||...

By default, gosql add an option with the model name to the requests. ie. if my model is UserModel, generated sql will be something like "... FROM 'usermodel' ..." Is...

Hi, there is a small bug in skip_immediate function: a break is missing ```c case I32Const: // I32Const 指令的立即数表示 32 有符号整数(占 4 个字节) read_LEB_unsigned(bytes, pos, 32); HERE>>>>>>>> case I64Const: //...

0xFC byte code (TruncSat) is 2 bytes wide cf. documentation: [documentation](https://pengowray.github.io/wasm-ops/#fc)